From 9deb539031dbd92dc9caa45221e21a018fb2a570 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 5 May 2004 00:19:51 +0000 Subject: [project @ 2004-05-05 00:19:51 by jmb] Fixes for Norcroft svn path=/import/netsurf/; revision=827 --- riscos/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/theme.c b/riscos/theme.c index 20195196c..505f66edf 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -50,7 +50,7 @@ void ro_theme_load(char *pathname) { os_mode mode; os_coord dimensions; int size, i, n; - char filename[strlen(pathname) + 16]; + char *filename = alloca(strlen(pathname) + 16); fileswitch_object_type obj_type; /* Release previous sprite are -- cgit v1.2.3