screensaver fix

svn path=/trunk/boinc/; revision=13395
This commit is contained in:
David Anderson 2007-08-16 23:52:40 +00:00
parent 91a660f5e9
commit 9debbe3b4f
3 changed files with 14 additions and 3 deletions

View File

@ -348,7 +348,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR Args, int WinMode
int argc;
command_line = GetCommandLine();
argc = parse_command_line( command_line, argv );
argc = parse_command_line(command_line, argv);
main(argc, argv);
}

View File

@ -7947,3 +7947,12 @@ Charlie 16 Aug 2007
clientgui/
res/
BOINCMgr.icns
David 16 Aug 2007
- screensaver fix
api/
graphics2_win.C
lib/
util.C

View File

@ -316,9 +316,11 @@ int run_program(
memset(&startup_info, 0, sizeof(startup_info));
strcpy(cmdline, "");
for (int i=1; i<argc; i++) {
for (int i=0; i<argc; i++) {
strcat(cmdline, argv[i]);
strcat(cmdline, " ");
if (i<argc-1) {
strcat(cmdline, " ");
}
}
retval = CreateProcess(