summaryrefslogtreecommitdiff
path: root/frontends/amiga/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/amiga/misc.c')
-rwxr-xr-xfrontends/amiga/misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/amiga/misc.c b/frontends/amiga/misc.c
index 532d2f182..822d640d0 100755
--- a/frontends/amiga/misc.c
+++ b/frontends/amiga/misc.c
@@ -237,7 +237,8 @@ static nserror amiga_path_to_nsurl(const char *path, struct nsurl **url_out)
}
/**
- * returns a string with escape chars translated.
+ * returns a string with escape chars translated
+ * and string converted to local charset
* (based on remove_underscores from utils.c)
*/
@@ -259,7 +260,8 @@ char *translate_escape_chars(const char *s)
}
}
ret[ii] = '\0';
- return ret;
+
+ return ami_utf8_easy(ret);
}
/**