summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/PrettyPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cplusplus/PrettyPrinter.cpp')
-rw-r--r--src/shared/cplusplus/PrettyPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/PrettyPrinter.cpp b/src/shared/cplusplus/PrettyPrinter.cpp
index fd274c47d4..1c3ded6410 100644
--- a/src/shared/cplusplus/PrettyPrinter.cpp
+++ b/src/shared/cplusplus/PrettyPrinter.cpp
@@ -84,7 +84,7 @@ void PrettyPrinter::outToken(unsigned token)
oss << ba.constData();
// Print the token itself
- QByteArray tt(_contents.constData() + t.begin(), t.length);
+ QByteArray tt(_contents.constData() + t.begin(), t.f.length);
oss << tt.constData();
QString stuff = QString::fromUtf8(oss.str().c_str());