riched20: Simplify an array size calculation.

This commit is contained in:
Mike McCormack 2006-11-21 13:48:16 +09:00 committed by Alexandre Julliard
parent 5b8fdad920
commit 5b670b68f2
1 changed files with 1 additions and 1 deletions

View File

@ -2325,7 +2325,7 @@ void LookupInit(void)
{
RTFKey *rp;
memset(rtfHashTable, 0, RTF_KEY_COUNT * 2 * sizeof(*rtfHashTable));
memset(rtfHashTable, 0, sizeof rtfHashTable);
for (rp = rtfKey; rp->rtfKStr != NULL; rp++)
{
int index;