Skip to content

Commit 77988a7

Browse files
committed
Fix incomplete function name from 74fa556.
1 parent 6fe4b8f commit 77988a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/gnucash-bin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ mac_set_languages(NSArray* languages, NSString *lang_str)
275275
new_languages = [new_languages arrayByAddingObject: this_lang];
276276
/* If it's an English language, add the "C" locale after it so that
277277
* any messages can default to it */
278-
if (!NSEqualRanges([this_lang String: @"en"], not_found))
278+
if (!NSEqualRanges([this_lang rangeOfString: @"en"], not_found))
279279
new_languages = [new_languages arrayByAddingObject: @"C"];
280280
if (![new_languages containsObject: lang_str]) {
281281
NSArray *temp_array = [NSArray arrayWithObject: lang_str];

0 commit comments

Comments
 (0)