mirror of https://github.com/FDOS/kernel.git
Return current country code (func 0x38)
This commit is contained in:
parent
7f649868f9
commit
effd87fafb
|
@ -868,10 +868,8 @@ dispatch:
|
||||||
rc = DosGetCountryInformation(cntry, FP_DS_DX);
|
rc = DosGetCountryInformation(cntry, FP_DS_DX);
|
||||||
if (rc >= SUCCESS)
|
if (rc >= SUCCESS)
|
||||||
{
|
{
|
||||||
/* HACK FIXME */
|
|
||||||
if (cntry == (UWORD) - 1)
|
if (cntry == (UWORD) - 1)
|
||||||
cntry = 1;
|
cntry = nlsInfo.actPkg->cntry;
|
||||||
/* END OF HACK */
|
|
||||||
lr.AX = lr.BX = cntry;
|
lr.AX = lr.BX = cntry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue