Skip to content

Commit

Permalink
Fix incomplete function name from 74fa556.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Jun 28, 2016
1 parent 6fe4b8f commit 77988a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/gnucash-bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 77988a7

Please sign in to comment.