Index: gui.c
===================================================================
--- gui.c	(revision 317)
+++ gui.c	(revision 318)
@@ -1019,7 +1019,6 @@
 	nitems++;
 nitems++;
 
-
 if(c->current>=0 && c->current<nitems)
 {
 fxy[0]=xy[0];
@@ -1129,12 +1128,11 @@
     }
 */
 
+if(c->offset>nitems-RAYDIUM_GUI_COMBO_LIST_HEIGHT)
+    c->offset=nitems-RAYDIUM_GUI_COMBO_LIST_HEIGHT;
 if(c->offset<0)
     c->offset=0;
-if(c->offset>nitems-RAYDIUM_GUI_COMBO_LIST_HEIGHT)
-    c->offset=nitems-RAYDIUM_GUI_COMBO_LIST_HEIGHT;
 
-
 // Apply offset (result's stored in 'i')
 for(i=0,cpt=0;i<strlen(c->items)+1;i++)
     {