X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/dc5d05d1af49a530da91b70179b1dff8c93aadc9..74086be00836c578aa8e79f29006c3963043616b:/windows/window.c diff --git a/windows/window.c b/windows/window.c index df69db14..a0a52685 100644 --- a/windows/window.c +++ b/windows/window.c @@ -699,6 +699,12 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) } /* + * Initialise the fonts, simultaneously correcting the guesses + * for font_{width,height}. + */ + init_fonts(0,0); + + /* * Initialise the terminal. (We have to do this _after_ * creating the window, since the terminal is the first thing * which will call schedule_timer(), which will in turn call @@ -712,12 +718,6 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) conf_get_int(conf, CONF_savelines)); /* - * Initialise the fonts, simultaneously correcting the guesses - * for font_{width,height}. - */ - init_fonts(0,0); - - /* * Correct the guesses for extra_{width,height}. */ {