Hi,

Trivial patch. Pass correct values for codepage and country from DOS-38
and DOS-65-XX functions to MUX-14 functions.

Eduardo.

diff -uNrp ke2035.orig/kernel/nls.c ke2035/kernel/nls.c
--- ke2035.orig/kernel/nls.c    2004-06-24 22:41:18.000000000 +0200
+++ ke2035/kernel/nls.c 2004-06-24 22:15:52.000000000 +0200
@@ -520,8 +520,8 @@ COUNT DosGetData(int subfct, UWORD cp, U
        direct-access flag is disabled, the request must
        be passed through MUX */
     return (subfct == NLS_DOS_38)
-        ? mux38(nls->cp, nls->cntry, bufsize, buf)
-        : mux65(subfct, nls->cp, nls->cntry, bufsize, buf);
+        ? mux38(cp, cntry, bufsize, buf)
+        : mux65(subfct, cp, cntry, bufsize, buf);
   }
 
   /* Direct access to the data */




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to