From 556192bd4adbb8a8405ac9f8776d5275a232157c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Fri, 1 Feb 2013 10:19:33 +0400 Subject: [PATCH] (init_panelize): support --disable-nls. Signed-off-by: Andrew Borodin --- src/filemanager/panelize.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filemanager/panelize.c b/src/filemanager/panelize.c index 25d0ed489..45aa516e6 100644 --- a/src/filemanager/panelize.c +++ b/src/filemanager/panelize.c @@ -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;