static int
wiz_display_macros(void)
{
+ static const char display_issues[] = "Display macro issues:";
char buf[BUFSZ];
winid win;
- int test, trouble = 0, no_glyph = NO_GLYPH, max_glyph = MAX_GLYPH;
- static const char *const display_issues = "Display macro issues:";
+ int glyph, test, trouble = 0, no_glyph = NO_GLYPH, max_glyph = MAX_GLYPH;
win = create_nhwindow(NHW_TEXT);
- for (int glyph = 0; glyph < MAX_GLYPH; ++glyph) {
+ for (glyph = 0; glyph < MAX_GLYPH; ++glyph) {
/* glyph_is_cmap / glyph_to_cmap() */
if (glyph_is_cmap(glyph)) {
test = glyph_to_cmap(glyph);