summaryrefslogtreecommitdiff
path: root/fluid/CodeEditor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/CodeEditor.cxx')
-rw-r--r--fluid/CodeEditor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/CodeEditor.cxx b/fluid/CodeEditor.cxx
index 78ece08de..c5fe85381 100644
--- a/fluid/CodeEditor.cxx
+++ b/fluid/CodeEditor.cxx
@@ -179,7 +179,9 @@ void CodeEditor::style_parse(const char *text, char *style, int length) {
// Might be a keyword...
for (temp = text, bufptr = buf;
(islower(*temp) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1);
- *bufptr++ = *temp++);
+ *bufptr++ = *temp++) {
+ // nothing
+ }
if (!islower(*temp) && *temp != '_') {
*bufptr = '\0';