adium-1.4 2765:9596a7e49707: Helpful to retain the correct langu...

commits at adium.im commits at adium.im
Mon Nov 9 19:15:52 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/9596a7e49707
revision:	2765:9596a7e49707
author:		Zachary West <zacw at adium.im>
date:		Mon Nov 09 14:15:48 2009 -0500

Helpful to retain the correct language sometimes. Refs #13389.

diffs (12 lines):

diff -r 4b03c62063a5 -r 9596a7e49707 Source/OWSpellingPerContactPlugin.m
--- a/Source/OWSpellingPerContactPlugin.m	Mon Nov 09 14:14:32 2009 -0500
+++ b/Source/OWSpellingPerContactPlugin.m	Mon Nov 09 14:15:48 2009 -0500
@@ -61,7 +61,7 @@
 	
 	for (NSString *language in preferredLanguages) {
 		if ([[NSSpellChecker sharedSpellChecker] setLanguage:language]) {
-			preferredLanguage = [[preferredLanguages objectAtIndex:0] retain];
+			preferredLanguage = [language retain];
 			break;
 		}
 	}




More information about the commits mailing list