summaryrefslogtreecommitdiff
path: root/src/lib/cross_unix.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-05-09 16:37:27 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-11 20:38:01 +0200
commitbbe336ee97c86c424f8f94e0f947f8e3b20e7123 (patch)
tree8e150d92ce7b7f151618aec8cc056d2df01dc5fc /src/lib/cross_unix.cc
parent2695f450ca00654cef8709e4e3cfb4cf5de48fc7 (diff)
Use GetCommandLineW() to get a UTF16-encoded command line on Windows (#2248).
Diffstat (limited to 'src/lib/cross_unix.cc')
-rw-r--r--src/lib/cross_unix.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/cross_unix.cc b/src/lib/cross_unix.cc
index 7501a4c08..743c11980 100644
--- a/src/lib/cross_unix.cc
+++ b/src/lib/cross_unix.cc
@@ -84,3 +84,10 @@ dcpomatic::get_process_id ()
}
+ArgFixer::ArgFixer(int argc, char** argv)
+ : _argc(argc)
+ , _argv(argv)
+{
+
+}
+