Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2015-04-22 22:46:52 +0300
committerMikkel Krautz <mikkel@krautz.dk>2015-04-22 22:46:55 +0300
commitd63fc6d3cf350e887bc35eda6a133d1287786509 (patch)
tree9ab83ca87faf7744511ffad26675da0341169c83 /overlay
parent2379f1fa0ea2423aad0940ffcd1466253c97c8f8 (diff)
Use the index variable instead of hardcoding 0 in overlay_exe's GetCommandLineArgs().
Diffstat (limited to 'overlay')
-rw-r--r--overlay/overlay_exe/overlay_exe.cpp2
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;