mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
fixed unitialized var in init_chown_advanced() - patch from andrew_b
This commit is contained in:
parent
5ee6f43796
commit
6f9ef0b7be
@ -1,3 +1,8 @@
|
||||
2009-02-01 Enrico Weigelt, metux ITS <weigelt@metux.de>
|
||||
|
||||
* 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>
|
||||
|
||||
* edit/editcmd.c, mhl/escape.h, mhl/string.h, mhl/types.h, src/Makefile.am,
|
||||
|
@ -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;
|
||||
static int i18n_len = 0;
|
||||
|
||||
if (!i18n_len) {
|
||||
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