/[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.71 by sysadm, Wed Nov 5 01:04:06 2025 UTC Revision 1.73 by sysadm, Sat Nov 8 08:23:33 2025 UTC
# Line 31  Line 31 
31  #include <time.h>  #include <time.h>
32  #include <sys/param.h>  #include <sys/param.h>
33    
34  #define TITLE_SEARCH_MAX_LEN 60  enum _section_list_display_constant_t
35    {
36            TITLE_SEARCH_MAX_LEN = 60,
37    };
38    
39  static int32_t section_aid_locations[BBS_max_section] = {0};  static int32_t section_aid_locations[BBS_max_section] = {0};
40  static int section_topic_view_mode = 0;  static int section_topic_view_mode = 0;
# Line 1173  int section_list_display(const char *sna Line 1176  int section_list_display(const char *sna
1176                          moveto(SCREEN_ROWS, 1);                          moveto(SCREEN_ROWS, 1);
1177                          clrtoeol();                          clrtoeol();
1178                          get_data(SCREEN_ROWS, 1,                          get_data(SCREEN_ROWS, 1,
1179                                           (direction == 1 ? "向下搜寻作者: " : "向上搜寻作者: "),                                           (direction == 1 ? "↓搜寻作者: " : "↑搜寻作者: "),
1180                                           username, sizeof(username), BBS_username_max_len);                                           username, sizeof(username), BBS_username_max_len);
1181    
1182                          if (username[0] == '\0')                          if (username[0] == '\0')
# Line 1262  int section_list_display(const char *sna Line 1265  int section_list_display(const char *sna
1265                          moveto(SCREEN_ROWS, 1);                          moveto(SCREEN_ROWS, 1);
1266                          clrtoeol();                          clrtoeol();
1267                          get_data(SCREEN_ROWS, 1,                          get_data(SCREEN_ROWS, 1,
1268                                           (direction == 1 ? "向下搜寻标题: " : "向上搜寻标题: "),                                           (direction == 1 ? "↓搜寻标题: " : "↑搜寻标题: "),
1269                                           title, sizeof(title), TITLE_SEARCH_MAX_LEN);                                           title, sizeof(title), TITLE_SEARCH_MAX_LEN);
1270    
1271                          if (title[0] == '\0')                          if (title[0] == '\0')


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

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