Content reorg: font chars now use hexadecimal numbering to match the Unicode standard
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3157 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -659,7 +659,7 @@ _GetFontData (uio_Stream *fp, DWORD length)
|
||||
|
||||
char_name = GetDirEntryAddress (SetAbsDirEntryTableIndex (
|
||||
fontDir, dirEntryI));
|
||||
if (sscanf (char_name, "%u.", &charIndex) != 1)
|
||||
if (sscanf (char_name, "%x.", &charIndex) != 1)
|
||||
continue;
|
||||
|
||||
if (charIndex > 0xffff)
|
||||
|
||||
Reference in New Issue
Block a user