From e240c200d53efc0885023077f8ee1087951478aa Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 28 Mar 2009 19:59:46 +0000 Subject: Avoid potentially unsafe writes through a const pointer. svn path=/trunk/netsurf/; revision=6974 --- riscos/wimp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/wimp.c') 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; } -- cgit v1.2.3