mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +03:00
(init_panelize): support --disable-nls.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c52003ec43
commit
556192bd4a
@ -159,7 +159,9 @@ init_panelize (void)
|
||||
blen = i - 1; /* gaps between buttons */
|
||||
while (i-- != 0)
|
||||
{
|
||||
#ifdef ENABLE_NLS
|
||||
panelize_but[i].text = _(panelize_but[i].text);
|
||||
#endif
|
||||
blen += str_term_width1 (panelize_but[i].text) + 3 + 1;
|
||||
if (panelize_but[i].flags == DEFPUSH_BUTTON)
|
||||
blen += 2;
|
||||
|
Loading…
Reference in New Issue
Block a user