mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-04 15:11:42 +03:00
Code cleanup concerning PAUSE_OPTIONS.
This commit is contained in:
parent
d003fcb1e0
commit
b2605e09e9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user