From: lace <> Date: Wed, 25 Jan 2006 17:33:45 +0000 (+0000) Subject: capfuse_filename_from_utf8_malloc_errorchecking: Fixed. X-Git-Tag: captive-1_1_7~12 X-Git-Url: https://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=3f448942ffb4383e1e667263e1407d95eccc9b79 capfuse_filename_from_utf8_malloc_errorchecking: Fixed. - It was converting TO utf8 before. --- diff --git a/src/client/fuse/utf8.c b/src/client/fuse/utf8.c index ca0b307..bd54212 100644 --- a/src/client/fuse/utf8.c +++ b/src/client/fuse/utf8.c @@ -36,7 +36,7 @@ char *r; g_return_val_if_fail(string!=NULL,NULL); error=NULL; - r=g_filename_to_utf8( + r=(*func)( string, /* g_filename_to_utf8=>opsysstring || g_filename_from_utf8=>utf8string */ -1, /* len; '\0'-terminated */ NULL, /* bytes_read */