--- lbbs/include/editor.h 2025/11/04 14:58:55 1.10 +++ lbbs/include/editor.h 2026/01/03 10:27:14 1.12 @@ -3,7 +3,7 @@ * editor * - user interactive full-screen text editor * - * Copyright (C) 2004-2025 Leaflet + * Copyright (C) 2004-2026 Leaflet */ #ifndef _EDITOR_H_ @@ -11,8 +11,11 @@ #include "screen.h" -#define MAX_EDITOR_DATA_LINES 65536 -#define MAX_EDITOR_DATA_LINE_LENGTH 1024 +enum editor_constant_t +{ + MAX_EDITOR_DATA_LINES = 65536, + MAX_EDITOR_DATA_LINE_LENGTH = 1024, +}; struct editor_data_t {