summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/text_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 36cf65fe5a..06dc098501 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -24,7 +24,7 @@
24#if PLUGIN_BUFFER_SIZE > 0x45000 24#if PLUGIN_BUFFER_SIZE > 0x45000
25#define MAX_CHARS 0x40000 /* 256 kiB */ 25#define MAX_CHARS 0x40000 /* 256 kiB */
26#else 26#else
27#define MAX_CHARS 0x6000 /* 24 kiB */ 27#define MAX_CHARS 0x5FE0 /* a bit less than 24 kiB */
28#endif 28#endif
29#define MAX_LINE_LEN 2048 29#define MAX_LINE_LEN 2048
30PLUGIN_HEADER 30PLUGIN_HEADER