aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/prefs-dialog.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fc108e412..4b28936b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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++)
{