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

Diff of /lbbs/src/user_info_update.c

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

Revision 1.1 by sysadm, Wed Nov 5 14:59:31 2025 UTC Revision 1.3 by sysadm, Fri Nov 7 12:02:25 2025 UTC
# Line 9  Line 9 
9   */   */
10    
11  #include "bbs.h"  #include "bbs.h"
12    #include "bwf.h"
13  #include "database.h"  #include "database.h"
14  #include "editor.h"  #include "editor.h"
15  #include "io.h"  #include "io.h"
# Line 103  int user_intro_edit(int uid) Line 104  int user_intro_edit(int uid)
104                                  goto cleanup;                                  goto cleanup;
105                          }                          }
106    
107                            if (check_badwords(intro, '*') < 0)
108                            {
109                                    log_error("check_badwords(introduction) error\n");
110                                    ret = -3;
111                                    goto cleanup;
112                            }
113    
114                          lml_render(intro, intro_f, sizeof(intro_f), SCREEN_COLS, 0);                          lml_render(intro, intro_f, sizeof(intro_f), SCREEN_COLS, 0);
115    
116                          lines = split_data_lines(intro_f, SCREEN_COLS + 1, line_offsets, BBS_user_intro_max_line + 2, 1, NULL);                          lines = split_data_lines(intro_f, SCREEN_COLS + 1, line_offsets, BBS_user_intro_max_line + 2, 1, NULL);
# Line 124  int user_intro_edit(int uid) Line 132  int user_intro_edit(int uid)
132                          press_any_key();                          press_any_key();
133                          goto cleanup;                          goto cleanup;
134                  case 'E':                  case 'E':
135                            ch = 'E';
136                          continue;                          continue;
137                  default: // Invalid selection                  default: // Invalid selection
138                          continue;                          continue;


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

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