mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
manually merged 232_fix_init_chown_advanced
This commit is contained in:
commit
48a85a7b97
@ -1,6 +1,7 @@
|
||||
2009-02-01 Enrico Weigelt, metux ITS <weigelt@metux.de>
|
||||
|
||||
* src/util.c: fixed name_trunc() on NULL or empty parameters
|
||||
* src/achown.c: fixed unitialized var in init_chown_advanced()
|
||||
(patch from andrew_b)
|
||||
|
||||
2009-01-31 Enrico Weigelt, metux ITS <weigelt@metux.de>, Patrick Winnertz <winnie@debian.org>, Slava Zanko <slavazanko@gmail.com>, Sergei Trofimovich <slyfox@inbox.ru>
|
||||
|
@ -539,9 +539,9 @@ init_chown_advanced (void)
|
||||
int i;
|
||||
enum { dlg_h = 13, dlg_w = 74, n_elem = 4 };
|
||||
#ifdef ENABLE_NLS
|
||||
static int i18n_len;
|
||||
|
||||
if (!i18n_len) {
|
||||
static int i18n_len = 0;
|
||||
|
||||
if (i18n_len == 0) {
|
||||
int dx, cx;
|
||||
for (i = 0 ; i < n_elem ; i++) {
|
||||
chown_advanced_but[i].text = _(chown_advanced_but[i].text);
|
||||
|
Loading…
Reference in New Issue
Block a user