From 77988a72f52a60e409af15319f8664c86a504d74 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 28 Jun 2016 15:27:01 -0700 Subject: [PATCH] Fix incomplete function name from 74fa556. --- src/bin/gnucash-bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c index 37a1bbc4b95..e50be0513d5 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];