diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-07-21 21:19:42 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-07-21 21:19:42 +0000 |
commit | 308522b60e98dc8fda31f3b35de70aa473062257 (patch) | |
tree | eb991eaa278565b9d4999d6aff480527bc281bee /apps | |
parent | 49866a762e469632b973e5e486073c2c4104bf90 (diff) | |
download | rockbox-308522b60e98dc8fda31f3b35de70aa473062257.tar.gz rockbox-308522b60e98dc8fda31f3b35de70aa473062257.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/text_editor.c | 2 |
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 |
30 | PLUGIN_HEADER | 30 | PLUGIN_HEADER |