diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-10-09 06:52:20 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-10-09 06:52:20 +0000 |
commit | 8598b57fca400738ca95f131a5ba108646208204 (patch) | |
tree | 7b41c972b43ff0d6363ac1012c9d2b8bb347e968 /apps/gui/list.c | |
parent | 922dc9de7e661fb620f2622134d00e812be80633 (diff) | |
download | rockbox-8598b57fca400738ca95f131a5ba108646208204.tar.gz rockbox-8598b57fca400738ca95f131a5ba108646208204.zip |
Tiny simplification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23031 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 4b5f327941..2c7b7c9405 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -409,10 +409,7 @@ void gui_list_screen_scroll_step(int ofs) | |||
409 | 409 | ||
410 | void gui_list_screen_scroll_out_of_view(bool enable) | 410 | void gui_list_screen_scroll_out_of_view(bool enable) |
411 | { | 411 | { |
412 | if (enable) | 412 | offset_out_of_view = enable; |
413 | offset_out_of_view = true; | ||
414 | else | ||
415 | offset_out_of_view = false; | ||
416 | } | 413 | } |
417 | #endif /* HAVE_LCD_BITMAP */ | 414 | #endif /* HAVE_LCD_BITMAP */ |
418 | 415 | ||