summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreengine/complextypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreengine/complextypes.c b/coreengine/complextypes.c
index 7c9f77a..41feafd 100644
--- a/coreengine/complextypes.c
+++ b/coreengine/complextypes.c
@@ -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);
}