diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-12-03 21:40:43 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-12-03 21:40:43 +0200 |
commit | d7ad90d94ed2a12d7600d6b80478dca03e102ca5 (patch) | |
tree | 3cf23182ac5d5dd953cbae9a4be2c56ab93ce894 | |
parent | 631e10188d53d4c21ecf7b83a99b5726bf53f375 (diff) | |
download | vdr-plugin-text2skin-d7ad90d94ed2a12d7600d6b80478dca03e102ca5.tar.gz vdr-plugin-text2skin-d7ad90d94ed2a12d7600d6b80478dca03e102ca5.tar.bz2 |
Fix "suggest parentheses around ‘&&’ within ‘||’" compiler warning.
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | display.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,10 @@ VDR Plugin 'text2skin' Revision History --------------------------------------- +20xx-xx-xx: Version 1.4 + +- Fixed some compiler warnings. + 2009-10-06: Version 1.3 - Added Italian language texts (thanks to Diego Pierotto / closes #134) @@ -241,7 +241,7 @@ public: inline bool cText2SkinDisplayTracks::HasTabText(int Index, int n) { - if (Index < 0 || mItems.size () > (uint)Index && n <= 0) + if (Index < 0 || (mItems.size () > (uint)Index && n <= 0)) return mItems[Index].length() > 0; return false; } |