mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
riched20: Simplify an array size calculation.
This commit is contained in:
parent
5b8fdad920
commit
5b670b68f2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user