]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xpmdecod.cpp
Committing modified version of jwiesemann's patch (see #11223):
[wxWidgets.git] / src / common / xpmdecod.cpp
index 82a415f69624fe8f7d7efe9663860b40d6afbc9b..744a5db1e868d39e4fc6d9f2f6d0b40771bbf003 100644 (file)
@@ -618,7 +618,7 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
 
 static const char *ParseColor(const char *data)
 {
-    static const char *targets[] =
+    static const char *const targets[] =
                         {"c ", "g ", "g4 ", "m ", "b ", "s ", NULL};
 
     const char *p, *r;