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 | |
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')
-rw-r--r-- | riscos/gui/progress_bar.c | 2 | ||||
-rw-r--r-- | riscos/gui/status_bar.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/riscos/gui/progress_bar.c b/riscos/gui/progress_bar.c index 1195d57bb..bcfb99e96 100644 --- a/riscos/gui/progress_bar.c +++ b/riscos/gui/progress_bar.c @@ -56,7 +56,7 @@ struct progress_bar { bool icon_obscured; /**< icon is partially obscured */ }; -static char progress_animation_sprite[] = "progress\0"; +static char progress_animation_sprite[] = "progress"; static osspriteop_header *progress_icon; static unsigned int progress_width; static unsigned int progress_height; 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}, |