OSDN Git Service

Add initialize posx, posy at load_prefs_aux
authordis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 14 Feb 2013 14:17:31 +0000 (14:17 +0000)
committerdis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 14 Feb 2013 14:17:31 +0000 (14:17 +0000)
src/main-win.c
src/makefile.bcc

index 9b6eae2..abb93bc 100644 (file)
@@ -1236,6 +1236,8 @@ static void load_prefs_aux(int i)
        int wid, hgt, posx, posy;
        int dispx = GetSystemMetrics( SM_CXVIRTUALSCREEN);
        int dispy = GetSystemMetrics( SM_CYVIRTUALSCREEN);
+       posx=0;
+       posy=0;
        
        /* Make section name */
        sprintf(sec_name, "Term-%d", i);
index 1c353ec..3ddf932 100644 (file)
@@ -53,7 +53,7 @@ ANGBAND_RC = angband.rc
 
 CCOPTS = -Od -jb -j1 -Hc -tW -lGn -e$(EXE_FILE) \
        -wamb -wdef -wnod -wpin -wstu -wstv -wuse \
-       -D_WIN32_WINNT=0x0400 -DWINVER=0x0400 \
+       -D_WIN32_WINNT=0x0400 -DWINVER=0x0501 \
        -DUSE_TRANSPARENCY $(JP_OPT)
 
 # Compile flags: