Use g_filename_display_name instead of g_filename_to_utf8
parent
683dd9e763
commit
835ee73b41
|
@ -307,9 +307,7 @@ lang_mgr_get_lang_for_bak_filename (MooLangMgr *mgr,
|
||||||
|
|
||||||
read_langs (mgr);
|
read_langs (mgr);
|
||||||
|
|
||||||
utf8_name = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL);
|
utf8_name = g_filename_display_name (filename);
|
||||||
g_return_val_if_fail (utf8_name != NULL, NULL);
|
|
||||||
|
|
||||||
len = strlen (utf8_name);
|
len = strlen (utf8_name);
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (bak_globs); ++i)
|
for (i = 0; i < G_N_ELEMENTS (bak_globs); ++i)
|
||||||
|
|
Loading…
Reference in New Issue