mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Removed incorrect string length calculation.
This commit is contained in:
parent
db4aae2222
commit
fee7fa62cc
@ -103,8 +103,8 @@ static BOOL FindCharMap(AFM *afm)
|
||||
}
|
||||
else
|
||||
{
|
||||
afm->EncodingScheme = HeapAlloc(PSDRV_Heap, 0,
|
||||
sizeof("WindowsUnknown") + 1 + charmap->encoding_id / 10);
|
||||
afm->EncodingScheme = HeapAlloc(PSDRV_Heap, 0, /* encoding_id */
|
||||
sizeof("WindowsUnknown65535")); /* is a UShort */
|
||||
if (afm->EncodingScheme == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user