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

Diff of /lbbs/src/section_list_display.c

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

Revision 1.38 by sysadm, Tue Jun 24 12:32:16 2025 UTC Revision 1.39 by sysadm, Wed Jun 25 14:52:07 2025 UTC
# Line 835  int section_list_ex_dir_display(SECTION_ Line 835  int section_list_ex_dir_display(SECTION_
835                  return -1;                  return -1;
836          }          }
837    
838            if (p_section->ex_menu_tm == 0) // N/A
839            {
840                    moveto(2, 1);
841                    clrtoeol();
842                    prints("该版块精华区未开放");
843                    press_any_key();
844                    return 0;
845            }
846    
847          if (get_section_ex_menu_set(p_section, &ex_menu_set) < 0)          if (get_section_ex_menu_set(p_section, &ex_menu_set) < 0)
848          {          {
849                  log_error("get_section_ex_menu_set(sid=%d) error\n", p_section->sid);                  log_error("get_section_ex_menu_set(sid=%d) error\n", p_section->sid);
# Line 842  int section_list_ex_dir_display(SECTION_ Line 851  int section_list_ex_dir_display(SECTION_
851          }          }
852          if (get_menu_shm_readonly(&ex_menu_set) < 0)          if (get_menu_shm_readonly(&ex_menu_set) < 0)
853          {          {
854                  log_error("set_menu_shm_readonly(sid=%d) error\n", p_section->sid);                  log_error("get_menu_shm_readonly(sid=%d) error\n", p_section->sid);
855                  return -3;                  return -3;
856          }          }
857    


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

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