fixed the HAVE_LIBXPM-dependent compile errors
[xboard.git] / xboard.c
index 7b1fe43..cb6317f 100644 (file)
--- a/xboard.c
+++ b/xboard.c
@@ -2290,7 +2290,7 @@ void InitDrawingSizes(BoardSize boardSize, int flags)
        }
 #ifdef GOTHIC
        if(gameInfo.variant == VariantGothic) {
-           ximMaskPm[(int)WhiteMarshall] = ximMaskPm2[i][(int)WhiteSilver];
+           ximMaskPm[(int)WhiteMarshall] = ximMaskPm2[(int)WhiteSilver];
        }
 #endif
 #endif