From: Chris Hanson Date: Fri, 19 May 1995 22:38:13 +0000 (+0000) Subject: Add hooks to update PM console's font metric data when the font is X-Git-Tag: 20090517-FFI~6294 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e23d7c0c4b419d45dfbd9b1022607b530bf7ad0c;p=mit-scheme.git Add hooks to update PM console's font metric data when the font is changed. --- diff --git a/v7/src/microcode/os2pmcon.c b/v7/src/microcode/os2pmcon.c index c4e3b5c4a..fa589e106 100644 --- a/v7/src/microcode/os2pmcon.c +++ b/v7/src/microcode/os2pmcon.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: os2pmcon.c,v 1.11 1995/05/19 21:57:13 cph Exp $ +$Id: os2pmcon.c,v 1.12 1995/05/19 22:38:13 cph Exp $ Copyright (c) 1994-95 Massachusetts Institute of Technology @@ -157,8 +157,10 @@ OS2_console_psid (void) void OS2_console_font_change_hook (font_metrics_t * metrics) { + grab_console_lock (); console_metrics = metrics; console_resize (console_pel_width, console_pel_height); + release_console_lock (); } static void