Fix fix of switch to mono-mode
[xboard.git] / xboard.c
index f05027d..5384720 100644 (file)
--- a/xboard.c
+++ b/xboard.c
@@ -1817,7 +1817,7 @@ InitDrawingSizes (BoardSize boardSize, int flags)
     }
   }
 #if HAVE_LIBXPM
-  if(appData.monoMode == oldMono)
+  if(appData.monoMode != oldMono)
     CreateAnimVars();
 #endif
   oldMono = appData.monoMode;