Commit 5b701c42 authored by dickelbeck's avatar dickelbeck

use size of first element in case the size of an element changes from that of...

use size of first element in case the size of an element changes from that of a pointer in the future
parent f4be4915
...@@ -11352,4 +11352,5 @@ const char* newstroke_font[] = ...@@ -11352,4 +11352,5 @@ const char* newstroke_font[] =
/* COMBINING */ /* COMBINING */
/* DIAMOND_SMALL */ /* DIAMOND_SMALL */
int newstroke_font_bufsize = sizeof(newstroke_font)/sizeof(*newstroke_font); int newstroke_font_bufsize = sizeof(newstroke_font)/sizeof(newstroke_font[0]);
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