Suppress saving font settings.
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 20:34:48 +0000 (21:34 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 20:34:48 +0000 (21:34 +0100)
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

index bd46436..fb54fee 100644 (file)
--- 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