]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a misplaced variable
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 12:31:05 +0000 (12:31 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 12:31:05 +0000 (12:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5236 d7cf8633-e32d-0410-b094-e92efae38249

sys_win.c

index 02be56b4393be41479467a02d3c7910a99f982f2..90545065c24c41580170089e0123b64ad659e03d 100644 (file)
--- 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)