summaryrefslogtreecommitdiff
path: root/fluid/CodeEditor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/CodeEditor.cxx')
-rw-r--r--fluid/CodeEditor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/CodeEditor.cxx b/fluid/CodeEditor.cxx
index 89dbe6bb6..f262f70dd 100644
--- a/fluid/CodeEditor.cxx
+++ b/fluid/CodeEditor.cxx
@@ -359,7 +359,7 @@ int CodeEditor::auto_indent(int, CodeEditor* e) {
char *text = e->buffer()->text_range(start, pos);
char *ptr;
- for (ptr = text; isspace(*ptr); ptr ++);
+ for (ptr = text; isspace(*ptr); ptr ++) {/*empty*/}
*ptr = '\0';
if (*text) {
// use only a single 'insert' call to avoid redraw issues