From 646ec489ea03f9d1aea8214824e1e6c4667da0a3 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 6 Jan 2010 21:34:48 +0100 Subject: [PATCH] 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. --- xboard.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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 -- 1.7.0.4