diff options
Diffstat (limited to 'src/scripttools/debugging/qscriptsyntaxhighlighter.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptsyntaxhighlighter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp index e3b7773..722cc00 100644 --- a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp +++ b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp @@ -242,7 +242,7 @@ void QScriptSyntaxHighlighter::highlightBlock(const QString &text) if (lastWasBackSlash) { input = InputSep; } else { - switch (c.toAscii()) { + switch (c.toLatin1()) { case '*': input = InputAsterix; break; |