summaryrefslogtreecommitdiff
path: root/test/editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/editor.cxx')
-rw-r--r--test/editor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx
index 26cd1802a..e9a397e99 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -206,7 +206,9 @@ style_parse(const char *text,
// Might be a keyword...
for (temp = text, bufptr = buf;
(islower((*temp)&255) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1);
- *bufptr++ = *temp++);
+ *bufptr++ = *temp++) {
+ // nothing
+ }
if (!islower((*temp)&255) && *temp != '_') {
*bufptr = '\0';