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

Diff of /lbbs/src/article_post.c

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

Revision 1.26 by sysadm, Sun Oct 5 05:00:50 2025 UTC Revision 1.27 by sysadm, Thu Oct 9 12:20:31 2025 UTC
# Line 118  int article_post(const SECTION_LIST *p_s Line 118  int article_post(const SECTION_LIST *p_s
118                          case 'T':                          case 'T':
119                                  moveto(24, 1);                                  moveto(24, 1);
120                                  clrtoeol();                                  clrtoeol();
121                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN, DOECHO);                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);
122                                  for (p = title_input; *p == ' '; p++)                                  for (p = title_input; *p == ' '; p++)
123                                          ;                                          ;
124                                  for (q = title_input + len; q > p && *(q - 1) == ' '; q--)                                  for (q = title_input + len; q > p && *(q - 1) == ' '; q--)
# Line 921  int article_reply(const SECTION_LIST *p_ Line 921  int article_reply(const SECTION_LIST *p_
921                          case 'T':                          case 'T':
922                                  moveto(24, 1);                                  moveto(24, 1);
923                                  clrtoeol();                                  clrtoeol();
924                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN, DOECHO);                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);
925                                  for (p = title_input; *p == ' '; p++)                                  for (p = title_input; *p == ' '; p++)
926                                          ;                                          ;
927                                  for (q = title_input + len; q > p && *(q - 1) == ' '; q--)                                  for (q = title_input + len; q > p && *(q - 1) == ' '; q--)


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

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