aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistboxcontent.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-06-30 09:34:05 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-06-30 09:34:05 +0200
commit9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638 (patch)
treeb5c292f27acb62f8a51f608681df5c16fcb1d16d /lib/gui/elistboxcontent.cpp
parent7f2b4f4768792a8245b998812e7cb16678eb4ffb (diff)
parent0c2e529601f9931dc808388dfb8ec0a5fb96f06f (diff)
downloadenigma2-9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638.tar.gz
enigma2-9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
-rw-r--r--lib/gui/elistboxcontent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 3c9457e1..e05da215 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -49,7 +49,7 @@ int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
-eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25)
+eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25), m_cursor(0)
{
}
@@ -81,7 +81,7 @@ int eListboxPythonStringContent::cursorMove(int count)
int eListboxPythonStringContent::cursorValid()
{
- return m_cursor < size();
+ return ((unsigned int)m_cursor) < size();
}
int eListboxPythonStringContent::cursorSet(int n)