]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
376
[xonotic/darkplaces.git] / 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)