From: Eli Zaretskii Date: Thu, 13 Aug 1998 10:09:28 +0000 (+0000) Subject: (dos_set_keyboard): Set up stack and flags before X-Git-Tag: emacs-20.3~68 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b42099b9ecc08d1f6c621508aa1131373d043b6d;p=emacs.git (dos_set_keyboard): Set up stack and flags before calling _go32_dpmi_simulate_int. --- diff --git a/src/msdos.c b/src/msdos.c index 31c3cc17850..42374ad3657 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -1284,6 +1284,7 @@ dos_set_keyboard (code, always) Note: calling Int 2Fh via int86 wedges the DOS box on some versions of Windows 9X! So don't do that! */ regs.x.ax = 0xad80; + regs.x.ss = regs.x.sp = regs.x.flags = 0; _go32_dpmi_simulate_int (0x2f, ®s); if (regs.h.al == 0xff) international_keyboard = 1;