diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-17 08:00:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-17 08:00:59 +0300 |
commit | 0b23799b6f6470a41a6712461174776faecdfd25 (patch) | |
tree | 19ae32763540c52550d024b3d583829eaf27e940 /source/blender/imbuf/intern/thumbs.c | |
parent | bfdb42047af02743d694675700c2e50e98b867ec (diff) |
Cleanup: remove unused BLI_string_to_utf8
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index e7bec7e643c..4e1b5c66c84 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -243,16 +243,9 @@ static int uri_from_filename(const char *path, char *uri) #else BLI_snprintf(orig_uri, URI_MAX, "file://%s", dirstart); #endif - -#ifdef WITH_ICONV - { - char uri_utf8[URI_MAX]; - escape_uri_string(orig_uri, uri_utf8, URI_MAX, UNSAFE_PATH); - BLI_string_to_utf8(uri_utf8, uri, NULL); - } -#else + escape_uri_string(orig_uri, uri, URI_MAX, UNSAFE_PATH); -#endif + return 1; } |