diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index 5c48e0bf1..557149cb0 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -2276,7 +2276,7 @@ qboolean Sys_CheckUpdated(void) if (*updatedpath) { GetModuleFileName(NULL, frontendpath, sizeof(frontendpath)-1); - if (CreateProcess(updatedpath, va("--fromfrontend \"%s\" \"%s\" %s", SVNREVISIONSTR, frontendpath, COM_Parse(GetCommandLineA())), NULL, NULL, TRUE, 0, NULL, NULL, &startinfo, &childinfo)) + if (CreateProcess(updatedpath, va("\"%s\" %s --fromfrontend \"%s\" \"%s\" %s", frontendpath, COM_Parse(GetCommandLineA(), SVNREVISIONSTR, frontendpath), NULL, NULL, TRUE, 0, NULL, NULL, &startinfo, &childinfo)) return true; } }