usp10: Pass the correct buffer size to lstrcpynA() in load_GSUB_feature().

This commit is contained in:
Henri Verbeet 2010-08-19 18:57:43 +02:00 committed by Alexandre Julliard
parent da40f95efa
commit 7200f91c06
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc
else
psc->features = HeapAlloc(GetProcessHeap(), 0, psc->feature_count * sizeof(LoadedFeature));
lstrcpynA(psc->features[psc->feature_count - 1].tag,feat,4);
lstrcpynA(psc->features[psc->feature_count - 1].tag, feat, 5);
psc->features[psc->feature_count - 1].feature = feature;
return feature;
}