1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-09 15:23:50 -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:
Simon Tatham
2002-08-06 17:57:37 +00:00
parent 5e49e3fe1c
commit 437d740fb3
5 changed files with 47 additions and 52 deletions

View File

@ -312,7 +312,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
int argc, i;
char **argv;
split_into_argv(cmdline, &argc, &argv);
split_into_argv(cmdline, &argc, &argv, NULL);
for (i = 0; i < argc; i++) {
char *p = argv[i];