Make the default font on Mac OS be Monaco 9 rather than Monaco 10, since the
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Nov 2002 23:34:59 +0000 (23:34 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Nov 2002 23:34:59 +0000 (23:34 +0000)
former is available as a bitmap.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2258 cda61777-01e9-0310-a592-d414129be87e

settings.c

index 9530b4a..28b44c0 100644 (file)
@@ -493,7 +493,11 @@ void load_settings(char *section, int do_host, Config * cfg)
 #ifdef _WINDOWS
     gppi(sesskey, "FontCharSet", ANSI_CHARSET, &cfg->fontcharset);
 #endif
+#ifdef macintosh
+    gppi(sesskey, "FontHeight", 9, &cfg->fontheight);
+#else
     gppi(sesskey, "FontHeight", 10, &cfg->fontheight);
+#endif
 #ifdef _WINDOWS
     if (cfg->fontheight < 0) {
        int oldh, newh;