Mercurial > emacs
changeset 21430:b6b154ad6e22
(init_dosfns): Fix bug in passing segment address of the transfer buffer.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 08 Apr 1998 13:48:30 +0000 |
parents | 3552d6fbbddc |
children | a080769e8f7d |
files | src/dosfns.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dosfns.c Wed Apr 08 08:24:33 1998 +0000 +++ b/src/dosfns.c Wed Apr 08 13:48:30 1998 +0000 @@ -302,7 +302,7 @@ /* Obtain the country code via DPMI, use DJGPP transfer buffer. */ dpmiregs.x.ax = 0x3800; - dpmiregs.x.ds = xbuf; + dpmiregs.x.ds = xbuf >> 4; dpmiregs.x.dx = 0; dpmiregs.x.ss = dpmiregs.x.sp = dpmiregs.x.flags = 0; _go32_dpmi_simulate_int (0x21, &dpmiregs);