diff options
author | Chris Robinson <[email protected]> | 2020-08-12 17:40:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-08-12 17:40:00 -0700 |
commit | fd52c828a9c4f4bb7ed3a4dcfe4a5b4ed5664246 (patch) | |
tree | 622b82e411c1b27a520ac1234b4baf39d0dd909f /utils/sofa-info.cpp | |
parent | 476e9d7522bef4de85dab2113e9cba85007e2e2a (diff) |
Improve handling main() with UTF-8 args on Windows
Diffstat (limited to 'utils/sofa-info.cpp')
-rw-r--r-- | utils/sofa-info.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/sofa-info.cpp b/utils/sofa-info.cpp index 6117b1e6..26a2ee3f 100644 --- a/utils/sofa-info.cpp +++ b/utils/sofa-info.cpp @@ -27,10 +27,10 @@ #include <vector> #include "sofa-support.h" -#include "win_main_utf8.h" #include "mysofa.h" +#include "win_main_utf8.h" using uint = unsigned int; @@ -118,8 +118,6 @@ static void SofaInfo(const char *filename) int main(int argc, char *argv[]) { - GET_UNICODE_ARGS(&argc, &argv); - if(argc != 2) { fprintf(stdout, "Usage: %s <sofa-file>\n", argv[0]); |