diff options
author | John Tytgat <joty@netsurf-browser.org> | 2009-02-01 13:37:32 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2009-02-01 13:37:32 +0000 |
commit | 3f0c50e5a0eba982aca4ff377b1018018fb16b64 (patch) | |
tree | 295e998f83525c84c02f6b54496fe87670b4834b /riscos/gui/status_bar.c | |
parent | e8399d8a76821984e1159dc27368202e96799c4b (diff) | |
download | netsurf-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/gui/status_bar.c')
-rw-r--r-- | riscos/gui/status_bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c index 1ab458c1f..73d3cd327 100644 --- a/riscos/gui/status_bar.c +++ b/riscos/gui/status_bar.c @@ -51,8 +51,8 @@ struct status_bar { bool visible; /**< status bar is visible? */ }; -static char status_widget_text[] = "\0"; -static char status_widget_validation[] = "R5;Pptr_lr,8,6\0"; +static char status_widget_text[] = ""; +static char status_widget_validation[] = "R5;Pptr_lr,8,6"; wimp_WINDOW(1) status_bar_definition = { {0, 0, 1, 1}, |