Commit 5b670b68 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

riched20: Simplify an array size calculation.

parent 5b8fdad9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment