summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/jstest_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c
index 768d67f1..13c3a0a3 100644
--- a/platform/x11/jstest_main.c
+++ b/platform/x11/jstest_main.c
@@ -201,7 +201,7 @@ my_getline(FILE *file)
*d++ = (char)c;
c = fgetc(file);
}
- while (c >= 32 && space--);
+ while (c >= 32 && --space);
/* If we ran out of space, skip the rest of the line */
if (space == 0)