mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Work around bug in wx path conversion from filenames in zip files for files with strange (unicode) names
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1001 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -310,7 +310,7 @@ void Package::loadZipStream() {
|
|||||||
while (true) {
|
while (true) {
|
||||||
wxZipEntry* entry = zipStream->GetNextEntry();
|
wxZipEntry* entry = zipStream->GetNextEntry();
|
||||||
if (!entry) break;
|
if (!entry) break;
|
||||||
String name = normalize_internal_filename(entry->GetName());
|
String name = normalize_internal_filename(entry->GetName(wxPATH_UNIX));
|
||||||
files[name].zipEntry = entry;
|
files[name].zipEntry = entry;
|
||||||
}
|
}
|
||||||
zipStream->CloseEntry();
|
zipStream->CloseEntry();
|
||||||
|
|||||||
Reference in New Issue
Block a user