diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2010-04-14 14:09:09 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2010-04-14 14:09:09 +0200 |
| commit | 5744198c4276074cb812e23760f41e647dc0edd7 (patch) | |
| tree | 8fce725d9b9ab7dfde667064d73dc93ac71fce63 /lib/gui/elistboxcontent.cpp | |
| parent | 98c7a787df63a93f868548c2b1e357c0d873ebbe (diff) | |
| parent | 1401e6b972efb009c2a7602e41abe6c1c809a63e (diff) | |
| download | enigma2-5744198c4276074cb812e23760f41e647dc0edd7.tar.gz enigma2-5744198c4276074cb812e23760f41e647dc0edd7.zip | |
Merge branch 'experimental' of git.opendreambox.org:/git/enigma2 into experimental
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 4465d84c..b9e71df8 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) |
