From d7ad90d94ed2a12d7600d6b80478dca03e102ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> Date: Thu, 3 Dec 2009 21:40:43 +0200 Subject: =?UTF-8?q?Fix=20"suggest=20parentheses=20around=20=E2=80=98&&?= =?UTF-8?q?=E2=80=99=20within=20=E2=80=98||=E2=80=99"=20compiler=20warning?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HISTORY | 4 ++++ display.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3