summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2009-12-03 21:40:43 +0200
committerVille Skyttä <ville.skytta@iki.fi>2009-12-03 21:40:43 +0200
commitd7ad90d94ed2a12d7600d6b80478dca03e102ca5 (patch)
tree3cf23182ac5d5dd953cbae9a4be2c56ab93ce894
parent631e10188d53d4c21ecf7b83a99b5726bf53f375 (diff)
downloadvdr-plugin-text2skin-d7ad90d94ed2a12d7600d6b80478dca03e102ca5.tar.gz
vdr-plugin-text2skin-d7ad90d94ed2a12d7600d6b80478dca03e102ca5.tar.bz2
Fix "suggest parentheses around ‘&&’ within ‘||’" compiler warning.
-rw-r--r--HISTORY4
-rw-r--r--display.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 6314fda..e0134a8 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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)
diff --git a/display.h b/display.h
index 8326962..80a9ff1 100644
--- a/display.h
+++ b/display.h
@@ -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;
}