git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6ca11b
)
initialize m_cursor, fix cursorValid
author
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 29 Jun 2009 23:30:40 +0000
(
01:30
+0200)
committer
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 29 Jun 2009 23:30:40 +0000
(
01:30
+0200)
lib/gui/elistboxcontent.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistboxcontent.cpp
b/lib/gui/elistboxcontent.cpp
index 3c9457e1b5916751f652502bd1f1386dbb4f5f55..e05da215913fc121cd4abc7d3dc3e4f39abfb600 100644
(file)
--- a/
lib/gui/elistboxcontent.cpp
+++ b/
lib/gui/elistboxcontent.cpp
@@
-49,7
+49,7
@@
int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
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()
{
int eListboxPythonStringContent::cursorValid()
{
- return
m_cursor
< size();
+ return
((unsigned int)m_cursor)
< size();
}
int eListboxPythonStringContent::cursorSet(int n)
}
int eListboxPythonStringContent::cursorSet(int n)