diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/prefs-dialog.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-11-25 Christian Persch <chpe@cvs.gnome.org> + * src/prefs-dialog.c: (create_language_section): + + Fix compile in the !HAVE_ISO_CODES case. + +2004-11-25 Christian Persch <chpe@cvs.gnome.org> + * configure.ac: Check for iso-codes package. diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index f8a863d1a..f47c7474c 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1367,7 +1367,7 @@ create_language_section (EphyDialog *dialog) #else /* !HAVE_ISO_CODES */ - int i; + int i, n_languages = G_N_ELEMENTS (languages); for (i = 0; i < n_languages; i++) { |