diff options
-rw-r--r-- | utils/themeeditor/gui/skinhighlighter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/skinhighlighter.cpp b/utils/themeeditor/gui/skinhighlighter.cpp index 25a479f815..fddf4b38e4 100644 --- a/utils/themeeditor/gui/skinhighlighter.cpp +++ b/utils/themeeditor/gui/skinhighlighter.cpp | |||
@@ -75,7 +75,7 @@ void SkinHighlighter::highlightBlock(const QString& text) | |||
75 | /* Checking for normal tags */ | 75 | /* Checking for normal tags */ |
76 | 76 | ||
77 | char lookup[3]; | 77 | char lookup[3]; |
78 | struct tag_info* found = 0; | 78 | const struct tag_info* found = 0; |
79 | 79 | ||
80 | /* First checking for a two-character tag name */ | 80 | /* First checking for a two-character tag name */ |
81 | lookup[2] = '\0'; | 81 | lookup[2] = '\0'; |
@@ -115,7 +115,7 @@ void SkinHighlighter::highlightBlock(const QString& text) | |||
115 | return; | 115 | return; |
116 | 116 | ||
117 | char lookup[3]; | 117 | char lookup[3]; |
118 | struct tag_info* found = 0; | 118 | const struct tag_info* found = 0; |
119 | 119 | ||
120 | lookup[2] = '\0'; | 120 | lookup[2] = '\0'; |
121 | 121 | ||