#477 keyword/api should have space before

This commit is contained in:
BADIM-PC\Vadim 2018-01-11 11:58:15 +03:00
parent 8b02b29a84
commit 329a6bad0b
1 changed files with 1 additions and 1 deletions

View File

@ -2119,7 +2119,7 @@ void parseCode(const tic_script_config* config, const char* start, u8* color, co
ptr += strlen(config->singleComment); ptr += strlen(config->singleComment);
continue; continue;
} }
else if(isalpha_(c)) else if(isalpha_(c) && isspace(ptr[-1]))
{ {
wordStart = ptr; wordStart = ptr;
ptr++; ptr++;