Fix UTF-8 to UTF-16 conversion of displayed paths to MO/ZIP images
This commit is contained in:
@@ -140,7 +140,7 @@ media_menu_set_name_zip(int drive)
|
||||
} else {
|
||||
mbstoc16s(fn, zip_drives[drive].image_path, sizeof_w(fn));
|
||||
_swprintf(name, plat_get_string(IDS_2054),
|
||||
type, drive+1, temp, zip_drives[drive].image_path);
|
||||
type, drive+1, temp, fn);
|
||||
}
|
||||
|
||||
mii.cbSize = sizeof(mii);
|
||||
|
@@ -292,7 +292,7 @@ StatusBarCreateMOTip(int part)
|
||||
} else {
|
||||
mbstoc16s(fn, mo_drives[drive].image_path, sizeof_w(fn));
|
||||
_swprintf(tempTip, plat_get_string(IDS_2115),
|
||||
drive+1, szText, mo_drives[drive].image_path);
|
||||
drive+1, szText, fn);
|
||||
}
|
||||
|
||||
if (sbTips[part] != NULL) {
|
||||
|
Reference in New Issue
Block a user