From 4dde67ef8c751e3200d42e8d3674569739ef1882 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 2 Feb 2005 09:53:12 +0000 Subject: Applied warning avoidance patch from SourceForge bug report 1080091. --- src/LexPOV.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3