diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2015-04-22 22:46:52 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2015-04-22 22:46:55 +0300 |
commit | d63fc6d3cf350e887bc35eda6a133d1287786509 (patch) | |
tree | 9ab83ca87faf7744511ffad26675da0341169c83 /overlay/overlay_exe | |
parent | 2379f1fa0ea2423aad0940ffcd1466253c97c8f8 (diff) |
Use the index variable instead of hardcoding 0 in overlay_exe's GetCommandLineArgs().
Diffstat (limited to 'overlay/overlay_exe')
-rw-r--r-- | overlay/overlay_exe/overlay_exe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/overlay_exe/overlay_exe.cpp b/overlay/overlay_exe/overlay_exe.cpp index 9fc999399..e55ad9086 100644 --- a/overlay/overlay_exe/overlay_exe.cpp +++ b/overlay/overlay_exe/overlay_exe.cpp @@ -116,7 +116,7 @@ static std::vector<std::wstring> GetCommandLineArgs() { } for (int i = 0; i < argc; i++) { - args.push_back(std::wstring(argv[0])); + args.push_back(std::wstring(argv[i])); } return args; |