diff options
author | nyamatongwe <devnull@localhost> | 2005-02-02 09:53:12 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-02-02 09:53:12 +0000 |
commit | 32c3f72ce62c603a170751c9e2e0c3c1a84b75f4 (patch) | |
tree | 32b558ebf243aa31260791d2078f1be6c28b4c82 /src | |
parent | b5cd2fc24d637411e3eb45539fe72590d30cc74d (diff) | |
download | scintilla-mirror-32c3f72ce62c603a170751c9e2e0c3c1a84b75f4.tar.gz |
Applied warning avoidance patch from SourceForge bug report
1080091.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexPOV.cxx | 3 |
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 |