fixed unitialized var in init_chown_advanced() - patch from andrew_b

This commit is contained in:
Enrico Weigelt, metux IT service 2009-02-01 20:32:11 +01:00
parent 5ee6f43796
commit 6f9ef0b7be
2 changed files with 8 additions and 3 deletions

View File

@ -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,

View File

@ -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);