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

Diff of /lbbs/src/editor.c

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

Revision 1.4 by sysadm, Wed Jun 11 04:27:48 2025 UTC Revision 1.5 by sysadm, Wed Jun 11 04:57:19 2025 UTC
# Line 227  int editor_data_insert(EDITOR_DATA *p_ed Line 227  int editor_data_insert(EDITOR_DATA *p_ed
227                  p_editor_data->p_data_lines[p_editor_data->data_line_total] = p_data_line;                  p_editor_data->p_data_lines[p_editor_data->data_line_total] = p_data_line;
228                  (p_editor_data->data_line_total)++;                  (p_editor_data->data_line_total)++;
229    
230                  if (offset_data_line + str_len + 2 < MAX_EDITOR_DATA_LINE_LENGTH)                  if (offset_data_line + str_len + 1 < MAX_EDITOR_DATA_LINE_LENGTH)
231                  {                  {
232                          // Copy rest part of current data line to new data line                          // Copy rest part of current data line to new data line
233                          memcpy(p_data_line,                          memcpy(p_data_line,


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

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