We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eceb3d1 commit cfc3808Copy full SHA for cfc3808
1 file changed
Main.cpp
@@ -19,7 +19,7 @@ Arguments GetArguments()
19
std::wstring wszGameArgs;
20
std::wstring lpCmdLine = GetCommandLineW();
21
auto separator = lpCmdLine.find(L" -- ");
22
- if (separator == std::wstring::npos) {
+ if (separator != std::wstring::npos) {
23
wszSyringeArgs = lpCmdLine.substr(0, separator);
24
wszGameArgs = lpCmdLine.substr(separator + 4);
25
}
0 commit comments