From: H.G. Muller Date: Wed, 6 Jan 2010 20:34:48 +0000 (+0100) Subject: Suppress saving font settings. X-Git-Tag: hgm-4.20100107~20 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=646ec489ea03f9d1aea8214824e1e6c4667da0a3 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