summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/gui/skinhighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui/skinhighlighter.cpp')
-rw-r--r--utils/themeeditor/gui/skinhighlighter.cpp4
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)
/* Checking for normal tags */
char lookup[3];
- struct tag_info* found = 0;
+ const struct tag_info* found = 0;
/* First checking for a two-character tag name */
lookup[2] = '\0';
@@ -115,7 +115,7 @@ void SkinHighlighter::highlightBlock(const QString& text)
return;
char lookup[3];
- struct tag_info* found = 0;
+ const struct tag_info* found = 0;
lookup[2] = '\0';