From 308522b60e98dc8fda31f3b35de70aa473062257 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Tue, 21 Jul 2009 21:19:42 +0000 Subject: Decrease the text buffer a tiny bit to make it fit again on archos. This really should use plugin_get_buffer() (and possibly plugin_get_audio_buffer() for big files) though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21996 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ #if PLUGIN_BUFFER_SIZE > 0x45000 #define MAX_CHARS 0x40000 /* 256 kiB */ #else -#define MAX_CHARS 0x6000 /* 24 kiB */ +#define MAX_CHARS 0x5FE0 /* a bit less than 24 kiB */ #endif #define MAX_LINE_LEN 2048 PLUGIN_HEADER -- cgit v1.2.3