summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-06-24 14:33:51 +1000
committerMichael Brasser <michael.brasser@nokia.com>2010-06-24 14:33:51 +1000
commitae422458fdbd9a2cdbc48024b31f7e5528baebb4 (patch)
treed429982c68cf8bd2af7b8121db3f29c737c5d0fe /tools/linguist
parent2bae9da77fbc6407ddb24d0fe8135698092cbb6a (diff)
Make compile.
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/lupdate/qdeclarative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/qdeclarative.cpp b/tools/linguist/lupdate/qdeclarative.cpp
index 3eef2d7fdc..2377416f8a 100644
--- a/tools/linguist/lupdate/qdeclarative.cpp
+++ b/tools/linguist/lupdate/qdeclarative.cpp
@@ -164,7 +164,7 @@ protected:
private:
bool createString(AST::BinaryExpression *b) {
- if (!b or b->op != 0)
+ if (!b || b->op != 0)
return false;
AST::BinaryExpression *l = AST::cast<AST::BinaryExpression *>(b->left);
AST::BinaryExpression *r = AST::cast<AST::BinaryExpression *>(b->right);