aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-25 22:45:12 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-25 22:45:12 +0800
commite0b14f264936aa2b060abb8190d47e68fe265ba3 (patch)
tree0271fa8e7a955e118790b5547e82faea2df7edbf
parent7ee1915ef8101e1cac5b9a2d5c858aac371d6367 (diff)
downloadgsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar.gz
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar.bz2
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar.lz
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar.xz
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.tar.zst
gsoc2013-epiphany-e0b14f264936aa2b060abb8190d47e68fe265ba3.zip
Fix compile in the !HAVE_ISO_CODES case.
2004-11-25 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (create_language_section): Fix compile in the !HAVE_ISO_CODES case.
-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++)
{