X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=interface.h;h=b3a457a7ae3db053a916a21254b43aa33e57df3e;hb=8397d76a8208a09ba3722754c04a2fddaf04713a;hp=4ce00b5a6624ee163cc74614cf79e9cda5c6511f;hpb=4f14a66c2fb16a1985418ba9af56f0cee0495f28;p=xboard.git diff --git a/interface.h b/interface.h index 4ce00b5..b3a457a 100644 --- a/interface.h +++ b/interface.h @@ -20,7 +20,8 @@ gint boardHeight; GdkPixbuf *WindowIcon=NULL; GdkPixbuf *WhiteIcon=NULL; GdkPixbuf *BlackIcon=NULL; -GdkPixbuf *SVGpieces[100]; +#define MAXPIECES 100 +GdkPixbuf *SVGpieces[MAXPIECES]; GdkPixbuf *SVGLightSquare=NULL; GdkPixbuf *SVGDarkSquare=NULL; GdkPixbuf *SVGNeutralSquare=NULL;