/[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.32 by sysadm, Fri Oct 10 12:31:15 2025 UTC Revision 1.34 by sysadm, Sat Oct 18 13:22:52 2025 UTC
# Line 119  int article_post(const SECTION_LIST *p_s Line 119  int article_post(const SECTION_LIST *p_s
119                          case KEY_TIMEOUT:                          case KEY_TIMEOUT:
120                                  goto cleanup;                                  goto cleanup;
121                          case CR:                          case CR:
                                 igetch_reset();  
122                                  break;                                  break;
123                          case 'T':                          case 'T':
124                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);
# Line 183  int article_post(const SECTION_LIST *p_s Line 182  int article_post(const SECTION_LIST *p_s
182                                  case KEY_TIMEOUT:                                  case KEY_TIMEOUT:
183                                          goto cleanup;                                          goto cleanup;
184                                  case CR:                                  case CR:
                                         igetch_reset();  
185                                  case 'S':                                  case 'S':
186                                          break;                                          break;
187                                  case 'C':                                  case 'C':
# Line 534  int article_modify(const SECTION_LIST *p Line 532  int article_modify(const SECTION_LIST *p
532                          case KEY_TIMEOUT:                          case KEY_TIMEOUT:
533                                  goto cleanup;                                  goto cleanup;
534                          case CR:                          case CR:
                                 igetch_reset();  
535                          case 'S':                          case 'S':
536                                  break;                                  break;
537                          case 'C':                          case 'C':
# Line 854  int article_reply(const SECTION_LIST *p_ Line 851  int article_reply(const SECTION_LIST *p_
851                  }                  }
852    
853                  // Apply LML render to content body                  // Apply LML render to content body
854                  len = lml_render(row[1], content_f, ARTICLE_CONTENT_MAX_LEN, 0);                  len = lml_render(row[1], content_f, ARTICLE_CONTENT_MAX_LEN, 1);
855                  content_f[len] = '\0';                  content_f[len] = '\0';
856    
857                  // Remove control sequence                  // Remove control sequence
# Line 934  int article_reply(const SECTION_LIST *p_ Line 931  int article_reply(const SECTION_LIST *p_
931                          case KEY_TIMEOUT:                          case KEY_TIMEOUT:
932                                  goto cleanup;                                  goto cleanup;
933                          case CR:                          case CR:
                                 igetch_reset();  
934                                  break;                                  break;
935                          case 'T':                          case 'T':
936                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);                                  len = get_data(24, 1, "标题: ", title_input, sizeof(title_input), TITLE_INPUT_MAX_LEN);
# Line 995  int article_reply(const SECTION_LIST *p_ Line 991  int article_reply(const SECTION_LIST *p_
991                                  case KEY_TIMEOUT:                                  case KEY_TIMEOUT:
992                                          goto cleanup;                                          goto cleanup;
993                                  case CR:                                  case CR:
                                         igetch_reset();  
994                                  case 'S':                                  case 'S':
995                                          break;                                          break;
996                                  case 'C':                                  case 'C':


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

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