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:
645ffd0
)
lib/gui/elistboxcontent.cpp: fix compiler warning
author
ghost
<andreas.monzner@multimedia-labs.de>
Mon, 12 Apr 2010 22:03:38 +0000
(
00:03
+0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Mon, 12 Apr 2010 22:17:00 +0000
(
00:17
+0200)
lib/gui/elistboxcontent.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistboxcontent.cpp
b/lib/gui/elistboxcontent.cpp
index 4b4b58c1bc2c458d7e6d08dfd7ce06cf32b313ab..a65df2e2360484c98fd3aa639f8cf4526462945d 100644
(file)
--- a/
lib/gui/elistboxcontent.cpp
+++ b/
lib/gui/elistboxcontent.cpp
@@
-49,7
+49,8
@@
int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
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()
{
int eListboxPythonStringContent::cursorValid()
{
- return
((unsigned int)m_cursor)
< size();
+ return
m_cursor
< size();
}
int eListboxPythonStringContent::cursorSet(int n)
}
int eListboxPythonStringContent::cursorSet(int n)