mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Pageant's command line handling now uses my new split_into_argv()
function, because it's silly to have two (and because the old one was not the same as the new one, violating the Principle of Least Surprise). [originally from svn r1811]
This commit is contained in:
@ -1384,7 +1384,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
int argc;
|
||||
char **argv;
|
||||
|
||||
split_into_argv(cmdline, &argc, &argv);
|
||||
split_into_argv(cmdline, &argc, &argv, NULL);
|
||||
|
||||
if (argc > 0) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user