From d63fc6d3cf350e887bc35eda6a133d1287786509 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Wed, 22 Apr 2015 21:46:52 +0200 Subject: Use the index variable instead of hardcoding 0 in overlay_exe's GetCommandLineArgs(). --- overlay/overlay_exe/overlay_exe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'overlay') 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 GetCommandLineArgs() { } for (int i = 0; i < argc; i++) { - args.push_back(std::wstring(argv[0])); + args.push_back(std::wstring(argv[i])); } return args; -- cgit v1.2.3