From e3f5118e4d0c5dd3e26c31789d1747abb403bafc Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 6 May 2005 12:31:05 +0000 Subject: [PATCH] fix a misplaced variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5236 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_win.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2