X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=ea5560f0f11265df49f4a89e0ac7486806f23cf4;hb=c6d278ec04f7618d636dbedc18b062bb07cf8a74;hp=489ef649df1d998413e7993eefe35a4aca109c85;hpb=f8687cd1d6737cb79cd31fc6c6d92971e499792d;p=xboard.git diff --git a/xboard.c b/xboard.c index 489ef64..ea5560f 100644 --- a/xboard.c +++ b/xboard.c @@ -2600,6 +2600,10 @@ XBoard square size (hint): %d\n\ if (forceMono) { fprintf(stderr, _("%s: too few colors available; trying monochrome mode\n"), programName); + + if (appData.bitmapDirectory == NULL || + appData.bitmapDirectory[0] == NULLCHAR) + appData.bitmapDirectory = DEF_BITMAP_DIR; } if (appData.lowTimeWarning && !appData.monoMode) {