summaryrefslogtreecommitdiff
blob: f39d157e19729b8194db6607ee18fa2289d79002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
http://bugs.gentoo.org/425364

--- src/cmdline.cpp
+++ src/cmdline.cpp
@@ -264,14 +264,14 @@
   }
   do {
     if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
-      m_vFiles.push_back( fs::path(fd.cFileName, fs::native) );
+      m_vFiles.push_back( fs::path(fd.cFileName) );
     }
   } while (::FindNextFile(hFind, &fd));
   ::FindClose(hFind);
 #else
   int n = optind;
   while (n < m_argc) {
-    m_vFiles.push_back( fs::path(m_argv[n], fs::native) );
+    m_vFiles.push_back( fs::path(m_argv[n]) );
     ++n;
   }
 #endif