riched20: Simplify an array size calculation.
This commit is contained in:
parent
5b8fdad920
commit
5b670b68f2
@ -2325,7 +2325,7 @@ void LookupInit(void)
|
|||||||
{
|
{
|
||||||
RTFKey *rp;
|
RTFKey *rp;
|
||||||
|
|
||||||
memset(rtfHashTable, 0, RTF_KEY_COUNT * 2 * sizeof(*rtfHashTable));
|
memset(rtfHashTable, 0, sizeof rtfHashTable);
|
||||||
for (rp = rtfKey; rp->rtfKStr != NULL; rp++)
|
for (rp = rtfKey; rp->rtfKStr != NULL; rp++)
|
||||||
{
|
{
|
||||||
int index;
|
int index;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user