From 3f0c50e5a0eba982aca4ff377b1018018fb16b64 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sun, 1 Feb 2009 13:37:32 +0000 Subject: - 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 --- riscos/theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/theme.c') diff --git a/riscos/theme.c b/riscos/theme.c index a540f3b43..a5c1875cb 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -120,9 +120,9 @@ static wimp_window theme_toolbar_window = { /* Shared icon validation */ -static char theme_url_validation[] = "Pptr_write;KN\0"; -static char theme_null_text_string[] = "\0"; -static char theme_separator_name[] = "separator\0"; +static char theme_url_validation[] = "Pptr_write;KN"; +static char theme_null_text_string[] = ""; +static char theme_separator_name[] = "separator"; static char theme_favicon_sprite[12]; -- cgit v1.2.3