diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-01 10:31:50 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-01 10:31:50 +0000 |
| commit | 1d66826ad8f9ec0f691b6e2e503cf83a3933e567 (patch) | |
| tree | ea13eaa1d5016931f4c5173a01ee3749d537481e /apps | |
| parent | 0028b05f3ec112c55d1706a94edd96911ef95449 (diff) | |
| download | rockbox-1d66826ad8f9ec0f691b6e2e503cf83a3933e567.zip rockbox-1d66826ad8f9ec0f691b6e2e503cf83a3933e567.tar.gz rockbox-1d66826ad8f9ec0f691b6e2e503cf83a3933e567.tar.bz2 rockbox-1d66826ad8f9ec0f691b6e2e503cf83a3933e567.tar.xz | |
Correct calculation of number of lines in the textarea with the button bar enabled. Fixes a bug where the file browser screwed up when wrapping backwards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10168 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 00ca7c8..8013244 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -351,8 +351,6 @@ static int update_dir(void) tc.selected_item=tc.filesindir-1; gui_synclist_select_item(&tree_lists, tc.selected_item); - gui_synclist_draw(&tree_lists); - gui_syncstatusbar_draw(&statusbars, true); #ifdef HAS_BUTTONBAR if (global_settings.buttonbar) { if (*tc.dirfilter < NUM_FILTER_MODES) @@ -364,6 +362,8 @@ static int update_dir(void) gui_buttonbar_draw(&tree_buttonbar); } #endif + gui_synclist_draw(&tree_lists); + gui_syncstatusbar_draw(&statusbars, true); return tc.filesindir; } |