Mercurial > geeqie
changeset 310:4b25b3b30f35
Revert part of the previous patch, let the caller take care
of calling path_from_utf8().
author | zas_ |
---|---|
date | Fri, 11 Apr 2008 15:27:08 +0000 |
parents | 99139bf9f380 |
children | 8a6650589829 |
files | src/secure_save.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/secure_save.c Fri Apr 11 14:27:55 2008 +0000 +++ b/src/secure_save.c Fri Apr 11 15:27:08 2008 +0000 @@ -15,8 +15,6 @@ #include "main.h" #include "secure_save.h" -#include "ui_fileops.h" - /* ABOUT SECURE SAVE */ /* This code was borrowed from the ELinks project (http://elinks.cz) * It was originally written by me (Laurent Monin aka Zas) and heavily @@ -84,7 +82,7 @@ ssi->secure_save = TRUE; - ssi->file_name = path_from_utf8(file_name); + ssi->file_name = g_strdup(file_name); if (!ssi->file_name) { secsave_errno = SS_ERR_OUT_OF_MEM; goto free_f;