We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bd04b commit 1248cf3Copy full SHA for 1248cf3
src/plzma_path.cpp
@@ -361,10 +361,10 @@ namespace plzma {
361
#endif
362
363
void Path::set(const String & str) {
364
-#if defined(LIBPLZMA_POSIX)
365
- set(str.utf8());
366
-#elif defined(LIBPLZMA_MSC)
+#if defined(LIBPLZMA_MSC) || defined(LIBPLZMA_MINGW)
367
set(str.wide());
+#elif defined(LIBPLZMA_POSIX)
+ set(str.utf8());
368
369
}
370
@@ -431,10 +431,10 @@ namespace plzma {
431
432
433
void Path::append(const Path & path) {
434
435
- append(path.utf8());
436
437
append(path.wide());
+ append(path.utf8());
438
439
440
0 commit comments