aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexPOV.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LexPOV.cxx b/src/LexPOV.cxx
index 0c1a21ab4..f5179d6b5 100644
--- a/src/LexPOV.cxx
+++ b/src/LexPOV.cxx
@@ -125,7 +125,8 @@ static void ColourisePovDoc(
}
} else if (sc.state == SCE_POV_DIRECTIVE) {
if (!IsAWordChar(sc.ch)) {
- char s[100], *p;
+ char s[100];
+ char *p;
sc.GetCurrent(s, sizeof(s));
p = s;
// Skip # and whitespace between # and directive word