Skip to content

Commit b78abba

Browse files
committed
turbo c build fix - use hardcoded structure directly
1 parent fb14d1f commit b78abba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,7 @@ err:printf("%s has invalid format\n", filename);
16301630
nlsPackageHardcoded.cp = entry.codepage;
16311631
subf_data.length = /* MS-DOS "CTYINFO" is up to 38 bytes */
16321632
min(subf_data.length, sizeof(struct CountrySpecificInfo));
1633-
CharMapFn = ((struct CountrySpecificInfo *)ptable)->CharMapFn;
1633+
CharMapFn = nlsCountryInfoHardcoded.C.CharMapFn;
16341634
}
16351635
if (hdr[i].id == 1)
16361636
ptable = (BYTE FAR *)&nlsPackageHardcoded.nlsExt.size;

0 commit comments

Comments
 (0)