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 7b140570f..057bfb8ca 100644
--- a/src/kernel/qimage.h
+++ b/src/kernel/qimage.h
@@ -58,9 +58,9 @@ public:
TQCString lang;
bool operator< (const TQImageTextKeyLang& 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 TQImageTextKeyLang& other) const
- { return key==other.key && lang==other.lang; }
+ { return (key==other.key) && (lang==other.lang); }
};
#endif //QT_NO_IMAGE_TEXT