use size of first element in case the size of an element changes from that of a pointer in the future
This commit is contained in:
parent
f4be491502
commit
5b701c42ff
|
@ -11352,4 +11352,5 @@ const char* newstroke_font[] =
|
|||
/* COMBINING */
|
||||
/* DIAMOND_SMALL */
|
||||
|
||||
int newstroke_font_bufsize = sizeof(newstroke_font)/sizeof(*newstroke_font);
|
||||
int newstroke_font_bufsize = sizeof(newstroke_font)/sizeof(newstroke_font[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue