From a19fa2dafc9d64a93a4a7692fe6dcb9adc68b51b Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 1 Aug 2010 19:00:33 +0000 Subject: themeeditor: fix build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27661 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/gui/skinhighlighter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/themeeditor/gui') 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'; -- cgit