Code cleanup concerning PAUSE_OPTIONS.

This commit is contained in:
Roland Illig 2004-08-16 17:43:36 +00:00
parent d003fcb1e0
commit b2605e09e9

View File

@ -86,7 +86,7 @@ static char *pause_options [3] = {
N_("on dumb &Terminals"),
N_("Alwa&ys") };
#define PAUSE_OPTIONS (sizeof(pause_options) / sizeof(char *))
#define PAUSE_OPTIONS (sizeof(pause_options) / sizeof(pause_options[0]))
/* Heights of the panes */
#define PY 3
@ -139,7 +139,7 @@ init_configure (void)
}
}
i = sizeof (pause_options) / sizeof (char *);
i = PAUSE_OPTIONS;
while (i--) {
pause_options[i] = _(pause_options[i]);
l1 = strlen (pause_options[i]) + 7;