diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-11-27 19:53:55 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-11-27 19:53:55 +0000 |
| commit | 2f74d5618fa93580d86caf1bf1d0eb2108418de8 (patch) | |
| tree | 9bb27a7ac00f99f8f3df8dcc35bbc5e92f24e77e /lib/gui/elistbox.cpp | |
| parent | dab6f160e5c3b7db288bc081910a52a2ee3b782f (diff) | |
| download | enigma2-2f74d5618fa93580d86caf1bf1d0eb2108418de8.tar.gz enigma2-2f74d5618fa93580d86caf1bf1d0eb2108418de8.zip | |
listbox: after a long discussion, paint the f&/%ing pixels...
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -rw-r--r-- | lib/gui/elistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index dc735f85..c3dd659b 100644 --- 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); |
