mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
use a clumsy api, get clumsy code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4262 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2ee3b703ba
commit
7c0b4c9ff2
1 changed files with 1 additions and 1 deletions
|
@ -2276,7 +2276,7 @@ qboolean Sys_CheckUpdated(void)
|
||||||
if (*updatedpath)
|
if (*updatedpath)
|
||||||
{
|
{
|
||||||
GetModuleFileName(NULL, frontendpath, sizeof(frontendpath)-1);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue