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:
dab6f16
)
listbox: after a long discussion, paint the f&/%ing pixels...
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 27 Nov 2005 19:53:55 +0000
(19:53 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 27 Nov 2005 19:53:55 +0000
(19:53 +0000)
lib/gui/elistbox.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistbox.cpp
b/lib/gui/elistbox.cpp
index dc735f85a391acdb8814daddf9e96fc092bafdbc..c3dd659bb40f5fb560d68b004972ac952b8009a6 100644
(file)
--- a/
lib/gui/elistbox.cpp
+++ b/
lib/gui/elistbox.cpp
@@
-142,7
+142,7
@@
int eListbox::event(int event, void *data, void *data2)
m_content->cursorSave();
m_content->cursorMove(m_top - m_selected);
- for (int y = 0, i = 0; i < m_items_per_page; y += m_itemheight, ++i)
+ for (int y = 0, i = 0; i <
=
m_items_per_page; y += m_itemheight, ++i)
{
m_content->paint(painter, *style, ePoint(0, y), m_selected == m_content->cursorGet() && m_content->size());
m_content->cursorMove(+1);