For building me scripts I enter command: “:build 1” - program crash !!!
In source code:
1. File english.cpp .
2. function static char* InferAdverb(char* original, unsigned int len) .
code string:
if (len >= 3 && !strcmp(word+len-3,“est”))
{
adjectiveFormat = MOST_FORM;
WORDP E = StoreWord(word,ADVERB|ADVERB_NORMAL,MOST_FORM);
WORDP base = E;
if (word[len-3] == word[len-4])
{ ........
//er
if (len >= 3 && !strcmp(word+len-2,“er”) )
{
adjectiveFormat = MORE_FORM;
WORDP E = StoreWord(word,ADVERB|ADVERB_NORMAL,MORE_FORM);
WORDP base = E;
if (word[len-3] == word[len-4])
{........
If variable “len = 3” string “if (word[len-3] == word[len-4])” leads to error
fix -> “if (len > 3 && !strcmp(word+len-2,“er”) )” This solution is suitable???