summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-05-05 00:19:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-05-05 00:19:51 +0000
commit9deb539031dbd92dc9caa45221e21a018fb2a570 (patch)
tree077cf2f304306d2c99ad6c94abb8df4cd4ba511d /riscos/theme.c
parent0f8e3e06e4bf946a932e77c0c27dd044cb1d9f4e (diff)
downloadnetsurf-9deb539031dbd92dc9caa45221e21a018fb2a570.tar.gz
netsurf-9deb539031dbd92dc9caa45221e21a018fb2a570.tar.bz2
[project @ 2004-05-05 00:19:51 by jmb]
Fixes for Norcroft svn path=/import/netsurf/; revision=827
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c2
1 files changed, 1 insertions, 1 deletions
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