From e23d7c0c4b419d45dfbd9b1022607b530bf7ad0c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 19 May 1995 22:38:13 +0000 Subject: [PATCH] Add hooks to update PM console's font metric data when the font is changed. --- v7/src/microcode/os2pmcon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1