/[LeafOK_CVS]/lbbs/src/menu.c
ViewVC logotype

Diff of /lbbs/src/menu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.71 by sysadm, Wed Jul 2 04:17:33 2025 UTC Revision 1.73 by sysadm, Mon Oct 13 07:13:39 2025 UTC
# Line 39  Line 39 
39  #define MENU_SET_RESERVED_LENGTH (sizeof(int16_t) * 4)  #define MENU_SET_RESERVED_LENGTH (sizeof(int16_t) * 4)
40    
41  MENU_SET bbs_menu;  MENU_SET bbs_menu;
42    MENU_SET top10_menu;
43    
44  int load_menu(MENU_SET *p_menu_set, const char *conf_file)  int load_menu(MENU_SET *p_menu_set, const char *conf_file)
45  {  {
# Line 1167  int menu_control(MENU_SET *p_menu_set, i Line 1168  int menu_control(MENU_SET *p_menu_set, i
1168                  if (p_menu_set->choose_step > 0)                  if (p_menu_set->choose_step > 0)
1169                  {                  {
1170                          p_menu_set->choose_step--;                          p_menu_set->choose_step--;
1171                          if (p_menu_set->choose_step == 0)                          return REDRAW;
                         {  
                                 return REDRAW;  
                         }  
                         if (display_menu(p_menu_set) != 0)  
                         {  
                                 return menu_control(p_menu_set, KEY_LEFT);  
                         }  
1172                  }                  }
1173                  else                  else
1174                  {                  {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1