summaryrefslogtreecommitdiff
path: root/riscos/wimp.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 19:59:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-28 19:59:46 +0000
commite240c200d53efc0885023077f8ee1087951478aa (patch)
treec2c66b33c04aef5df43d0c6cfd450c6972f6214f /riscos/wimp.c
parentce1099877654cddb643df0d84425d731e18b6957 (diff)
downloadnetsurf-e240c200d53efc0885023077f8ee1087951478aa.tar.gz
netsurf-e240c200d53efc0885023077f8ee1087951478aa.tar.bz2
Avoid potentially unsafe writes through a const pointer.
svn path=/trunk/netsurf/; revision=6974
Diffstat (limited to 'riscos/wimp.c')
-rw-r--r--riscos/wimp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/wimp.c b/riscos/wimp.c
index 40ffee38d..fa69dc845 100644
--- a/riscos/wimp.c
+++ b/riscos/wimp.c
@@ -242,7 +242,7 @@ const char *ro_gui_get_icon_string(wimp_w w, wimp_i i)
ic.icon.data.indirected_text.text
:
ic.icon.data.text;
- /* Garantee NUL termination. */
+ /* Guarantee NUL termination. */
itext[ro_gui_strlen(itext)] = '\0';
return itext;
}