fixed typo

This commit is contained in:
louis 2016-03-22 06:53:45 +01:00
parent 15feb0e16e
commit 842fc1a254
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ char *cTextExpr::DeterminateText(void) {
strcat(retVal, str);
} else if (t->type == eTexttokenType::inttoken) {
int value = tokenContainer->IntToken(t->tokenIndex);
if (value > 0) {
if (value >= 0) {
cString str = cString::sprintf("%d", value);
strcat(retVal, *str);
}