capfuse_filename_from_utf8_malloc_errorchecking: Fixed.
authorlace <>
Wed, 25 Jan 2006 17:33:45 +0000 (17:33 +0000)
committerlace <>
Wed, 25 Jan 2006 17:33:45 +0000 (17:33 +0000)
 - It was converting TO utf8 before.

src/client/fuse/utf8.c

index ca0b307..bd54212 100644 (file)
@@ -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 */