Fix #31310: Thumbnails not generating with non Latin characters

This commit is contained in:
Sergey Sharybin 2012-11-05 13:00:33 +00:00
parent 57ce929ade
commit 856b0f09dc

@ -436,7 +436,7 @@ ImBuf *IMB_thumb_manage(const char *path, ThumbSize size, ThumbSource source)
struct stat st;
ImBuf *img = NULL;
if (stat(path, &st)) {
if (BLI_stat(path, &st)) {
return NULL;
}
if (!uri_from_filename(path, uri)) {