diff options
Diffstat (limited to 'src/qdoc/cppcodemarker.cpp')
-rw-r--r-- | src/qdoc/cppcodemarker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/cppcodemarker.cpp b/src/qdoc/cppcodemarker.cpp index a52a42b16..f37d9fe9c 100644 --- a/src/qdoc/cppcodemarker.cpp +++ b/src/qdoc/cppcodemarker.cpp @@ -447,7 +447,7 @@ QString CppCodeMarker::addMarkUp(const QString &in, const Node * /* relative */, for (int j = sizeof(keywordTable) / sizeof(QString) - 1; j; --j) keywords.insert(keywordTable[j]); } -#define readChar() ch = (i < code.length()) ? code[i++].cell() : EOF +#define readChar() ch = QChar((i < code.length()) ? code[i++].cell() : EOF) QString code = in; QString out; |