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:
dickelbeck 2010-02-19 16:14:44 +00:00
parent f4be491502
commit 5b701c42ff
1 changed files with 2 additions and 1 deletions

View File

@ -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]);