summaryrefslogtreecommitdiff
path: root/riscos/buffer.c
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2009-02-01 13:37:32 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2009-02-01 13:37:32 +0000
commit3f0c50e5a0eba982aca4ff377b1018018fb16b64 (patch)
tree295e998f83525c84c02f6b54496fe87670b4834b /riscos/buffer.c
parente8399d8a76821984e1159dc27368202e96799c4b (diff)
downloadnetsurf-3f0c50e5a0eba982aca4ff377b1018018fb16b64.tar.gz
netsurf-3f0c50e5a0eba982aca4ff377b1018018fb16b64.tar.bz2
- C strings have always an implicit NUL character at the end, no need to specify an extra one.
- riscos/configure/con_theme.c: removed spurious code line. svn path=/trunk/netsurf/; revision=6331
Diffstat (limited to 'riscos/buffer.c')
-rw-r--r--riscos/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/buffer.c b/riscos/buffer.c
index ebd099a5e..61ce68c89 100644
--- a/riscos/buffer.c
+++ b/riscos/buffer.c
@@ -41,7 +41,7 @@ static void ro_gui_buffer_free(void);
/** The buffer characteristics
*/
static osspriteop_area *buffer = NULL;
-static char buffer_name[] = "scr_buffer\0\0";
+static char buffer_name[12] = "scr_buffer";
/** The current clip area
*/