gnucash maint: Fix incomplete function name from 74fa556.
John Ralls
jralls at code.gnucash.org
Tue Jun 28 18:27:50 EDT 2016
Updated via https://github.com/Gnucash/gnucash/commit/77988a72 (commit)
from https://github.com/Gnucash/gnucash/commit/6fe4b8ff (commit)
commit 77988a72f52a60e409af15319f8664c86a504d74
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jun 28 15:27:01 2016 -0700
Fix incomplete function name from 74fa556.
diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c
index 37a1bbc..e50be05 100644
--- a/src/bin/gnucash-bin.c
+++ b/src/bin/gnucash-bin.c
@@ -275,7 +275,7 @@ mac_set_languages(NSArray* languages, NSString *lang_str)
new_languages = [new_languages arrayByAddingObject: this_lang];
/* If it's an English language, add the "C" locale after it so that
* any messages can default to it */
- if (!NSEqualRanges([this_lang String: @"en"], not_found))
+ if (!NSEqualRanges([this_lang rangeOfString: @"en"], not_found))
new_languages = [new_languages arrayByAddingObject: @"C"];
if (![new_languages containsObject: lang_str]) {
NSArray *temp_array = [NSArray arrayWithObject: lang_str];
Summary of changes:
src/bin/gnucash-bin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list