| 49 |
} |
} |
| 50 |
|
|
| 51 |
p_mp_editor_data = memory_pool_init(sizeof(EDITOR_DATA), 1, 1); |
p_mp_editor_data = memory_pool_init(sizeof(EDITOR_DATA), 1, 1); |
| 52 |
if (p_mp_data_line == NULL) |
if (p_mp_editor_data == NULL) |
| 53 |
{ |
{ |
| 54 |
log_error("Memory pool init error\n"); |
log_error("Memory pool init error\n"); |
| 55 |
return -3; |
return -3; |
| 1110 |
col_pos = MIN(col_pos, MAX(1, p_editor_data->display_line_widths[line_current - output_current_row + row_pos])); |
col_pos = MIN(col_pos, MAX(1, p_editor_data->display_line_widths[line_current - output_current_row + row_pos])); |
| 1111 |
clrline(output_current_row, SCREEN_ROWS); |
clrline(output_current_row, SCREEN_ROWS); |
| 1112 |
break; |
break; |
| 1113 |
|
case Ctrl('Q'): |
| 1114 |
case KEY_F1: |
case KEY_F1: |
| 1115 |
if (!show_help) // Not reentrant |
if (!show_help) // Not reentrant |
| 1116 |
{ |
{ |