From: H.G. Muller Date: Wed, 6 Jan 2010 20:34:48 +0000 (+0100) Subject: Suppress saving font settings. X-Git-Tag: master-20100118~34 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c9c1ff6519187bea142f165b566a32f66dc61238;p=xboard.git Suppress saving font settings. The fonts are size dependent, and might thus not be reusable in the next session. For now we therefore suppress the saving of them in the settings file, until we diversify the fonts per boardSize. --- diff --git a/xboard.c b/xboard.c index bd46436..fb54fee 100644 --- a/xboard.c +++ b/xboard.c @@ -1362,7 +1362,9 @@ SaveFontArg(FILE *f, ArgDescriptor *ad) default: return; } - fprintf(f, OPTCHAR "%s" SEPCHAR "%s\n", ad->argName, name); +// Do not save fonts for now, as the saved font would be board-size specific +// and not suitable for a re-start at another board size +// fprintf(f, OPTCHAR "%s" SEPCHAR "%s\n", ad->argName, name); } void