diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 08:18:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 08:18:03 +0300 |
commit | d59721e47aba4c9db96cfe5b10c63969ff361897 (patch) | |
tree | 9158cfdeb118e3b09f19ddc087c71c9ddcfabace /source/blender/imbuf/intern/thumbs.c | |
parent | d17cb3f75f2c1e3b0d729da24f5fd1793b823760 (diff) |
Cleanup: move BLI_char_switch into BLI_string
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index 7a949b7ffea..4889026dbff 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -233,7 +233,7 @@ static int uri_from_filename(const char *path, char *uri) dirstart += 2; } strcat(orig_uri, dirstart); - BLI_char_switch(orig_uri, '\\', '/'); + BLI_str_replace_char(orig_uri, '\\', '/'); #else BLI_snprintf(orig_uri, URI_MAX, "file://%s", dirstart); #endif |