X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=sys_win.c;h=90545065c24c41580170089e0123b64ad659e03d;hb=8034fda50b305bc4b363e4726c9216a0a4eb6a9e;hp=02be56b4393be41479467a02d3c7910a99f982f2;hpb=182f5dd46097dc11b3643dc2376b4dd6a4fa42c7;p=xonotic%2Fdarkplaces.git diff --git a/sys_win.c b/sys_win.c index 02be56b4..90545065 100644 --- a/sys_win.c +++ b/sys_win.c @@ -293,6 +293,8 @@ char *Sys_GetClipboardData (void) void Sys_InitConsole (void) { + int t; + // initialize the windows dedicated server console if needed tevent = CreateEvent(NULL, false, false, NULL); @@ -362,7 +364,6 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin { double frameoldtime, framenewtime; MEMORYSTATUS lpBuffer; - int t; /* previous instances do not exist in Win32 */ if (hPrevInstance)