From 63cfced4bbaeea9af4dbbf33890afd2a6a199a53 Mon Sep 17 00:00:00 2001 From: Till Adam Date: Sat, 21 Jan 2006 12:35:50 +0000 Subject: [PATCH] Forward port of: SVN commit 500799 by tilladam: It's called latin9, not latin1. Thanks to Nicolas Goutte for pointing out the error of my ways. svn path=/trunk/KDE/kdepim/; revision=500801 --- configuredialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configuredialog.cpp b/configuredialog.cpp index 900e7c915..194fe70fa 100644 --- a/configuredialog.cpp +++ b/configuredialog.cpp @@ -2290,13 +2290,13 @@ void AppearancePage::ReaderTab::readCurrentFallbackCodec() currentEncoding = currentEncoding.replace( "iso ", "iso-", false ); ///kdDebug(5006) << "Looking for encoding: " << currentEncoding << endl; int i = 0; - int indexOfLatin1 = 0; + int indexOfLatin9 = 0; bool found = false; for( ; it != end; ++it) { const QString encoding = KGlobal::charsets()->encodingForName(*it); if ( encoding == "iso-8859-15" ) - indexOfLatin1 = i; + indexOfLatin9 = i; if( false && encoding == currentEncoding ) { mCharsetCombo->setCurrentItem( i ); @@ -2305,8 +2305,8 @@ void AppearancePage::ReaderTab::readCurrentFallbackCodec() } i++; } - if ( !found ) // nothing matched, use latin1 - mCharsetCombo->setCurrentItem( indexOfLatin1 ); + if ( !found ) // nothing matched, use latin9 + mCharsetCombo->setCurrentItem( indexOfLatin9 ); } void AppearancePage::ReaderTab::readCurrentOverrideCodec()