OSDN Git Service

[Fix] #37353 英語版変数未定義修正. / Fixed undefined variable error in English build.
authordeskull <deskull@users.sourceforge.jp>
Sat, 1 Feb 2020 13:58:15 +0000 (22:58 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 1 Feb 2020 13:58:15 +0000 (22:58 +0900)
src/main-win.c

index dc354d7..e0a1c17 100644 (file)
@@ -4102,7 +4102,7 @@ LRESULT FAR PASCAL AngbandWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
                                *lpStr++ = s[j];
                        }
 #else
-                       for (j = 0; j < dx; j++)
+                       for (int j = 0; j < dx; j++)
                        {
                                *lpStr++ = data[0].t.scr->c[oy + i][ox + j];
                        }