diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 11:05:24 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 11:05:24 +0000 |
commit | 65b3dd18e32b7fb70e82bd23899bdb03d89fe028 (patch) | |
tree | 97752212501276481d985579092c9fdcca404391 /riscos/gui.c | |
parent | 51d619ad4d6b07a48da4119f4f8debf71c9940cd (diff) | |
download | netsurf-65b3dd18e32b7fb70e82bd23899bdb03d89fe028.tar.gz netsurf-65b3dd18e32b7fb70e82bd23899bdb03d89fe028.tar.bz2 |
Make filename_from_path() compile.
svn path=/trunk/netsurf/; revision=10264
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 8987210a2..774980966 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -2457,7 +2457,7 @@ char *filename_from_path(char *path) leafname = malloc(leaflen + 1); if (!leafname) { LOG(("malloc failed")); - continue; + return NULL; } memcpy(leafname, temp, leaflen + 1); |