From 8598b57fca400738ca95f131a5ba108646208204 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Fri, 9 Oct 2009 06:52:20 +0000 Subject: Tiny simplification git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23031 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/gui/list.c') 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) void gui_list_screen_scroll_out_of_view(bool enable) { - if (enable) - offset_out_of_view = true; - else - offset_out_of_view = false; + offset_out_of_view = enable; } #endif /* HAVE_LCD_BITMAP */ -- cgit v1.2.3