summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kernel/qimage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qimage.h b/src/kernel/qimage.h
index 1ade054..cef7824 100644
--- a/src/kernel/qimage.h
+++ b/src/kernel/qimage.h
@@ -58,9 +58,9 @@ public:
QCString lang;
bool operator< (const QImageTextKeyLang& other) const
- { return key < other.key || key==other.key && lang < other.lang; }
+ { return (key < other.key) || ((key==other.key) && (lang < other.lang)); }
bool operator== (const QImageTextKeyLang& other) const
- { return key==other.key && lang==other.lang; }
+ { return (key==other.key) && (lang==other.lang); }
};
#endif //QT_NO_IMAGE_TEXT