aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistboxcontent.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-04-13 00:03:38 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-04-13 00:17:00 +0200
commitb9bb90d25e642bd0f91a7e4c16c133ef91bfaaf2 (patch)
tree2a052703328b90601e6c0ec20085708dcdabf641 /lib/gui/elistboxcontent.cpp
parent645ffd0c4b909edeaa31e12316d4b7f85f528238 (diff)
downloadenigma2-b9bb90d25e642bd0f91a7e4c16c133ef91bfaaf2.tar.gz
enigma2-b9bb90d25e642bd0f91a7e4c16c133ef91bfaaf2.zip
lib/gui/elistboxcontent.cpp: fix compiler warning
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
-rw-r--r--lib/gui/elistboxcontent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 4b4b58c1..a65df2e2 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -49,7 +49,8 @@ int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
-eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25), m_cursor(0)
+eListboxPythonStringContent::eListboxPythonStringContent()
+ :m_cursor(0), m_itemheight(25)
{
}
@@ -81,7 +82,7 @@ int eListboxPythonStringContent::cursorMove(int count)
int eListboxPythonStringContent::cursorValid()
{
- return ((unsigned int)m_cursor) < size();
+ return m_cursor < size();
}
int eListboxPythonStringContent::cursorSet(int n)