summaryrefslogtreecommitdiff
path: root/riscos/gui
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/gui')
-rw-r--r--riscos/gui/progress_bar.c2
-rw-r--r--riscos/gui/status_bar.c4
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},