summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/misc.c b/amiga/misc.c
index 0ede00325..003a5fb6e 100755
--- a/amiga/misc.c
+++ b/amiga/misc.c
@@ -181,7 +181,7 @@ char *path_to_url(const char *path)
char *filename_from_path(char *path)
{
- return ami_utf8_easy(FilePart(path));
+ return strdup(FilePart(path));
}
/**