diff options
author | David Boddie <david.boddie@nokia.com> | 2011-06-01 12:11:09 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-06-01 12:11:09 (GMT) |
commit | 8b1654ec6a892e84c1654c9196e80461ee6e92fa (patch) | |
tree | 1a40f16f0b822ef13fd1d72f417923cab2b97126 /tools | |
parent | 4199c4440ce85acde81dd19a5a3a5903f78cac3a (diff) | |
download | Qt-8b1654ec6a892e84c1654c9196e80461ee6e92fa.zip Qt-8b1654ec6a892e84c1654c9196e80461ee6e92fa.tar.gz Qt-8b1654ec6a892e84c1654c9196e80461ee6e92fa.tar.bz2 |
Added an additional check to workaround an issue on Windows.
Reviewed-by: David Boddie
Original-patch-by: Friedemann Kleint
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/cppcodemarker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp index b3dc31a..585d6ce 100644 --- a/tools/qdoc3/cppcodemarker.cpp +++ b/tools/qdoc3/cppcodemarker.cpp @@ -955,7 +955,7 @@ QString CppCodeMarker::addMarkUp(const QString &in, ident += ch; finish = i; readChar(); - } while (isalnum(ch) || ch == '_'); + } while (ch >= 0 && isalnum(ch) || ch == '_'); if (classRegExp.exactMatch(ident)) { tag = QLatin1String("type"); |