All pastes #917290 Raw Edit

Unnamed

public text v1 · immutable
#917290 ·published 2008-02-25 07:26 UTC
rendered paste body
Index: apps/gui/list.c
===================================================================
--- apps/gui/list.c     (revision 16409)
+++ apps/gui/list.c     (working copy)
@@ -1184,9 +1184,8 @@
         }
         if (action == ACTION_STD_CANCEL)
             break;
-        else if ((action == ACTION_NONE) ||
-                 (action == ACTION_REDRAW) ||
-                 (old_line_count != simplelist_line_count))
+        else if ((action == ACTION_REDRAW) ||
+                 ((action == ACTION_NONE) && old_line_count != simplelist_line_count))
         {
             if (info->get_name == NULL)
                 gui_synclist_set_nb_items(&lists, simplelist_line_count*info->selection_size);