X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftinygettext%2Ffindlocale.cpp;h=dbcb961e16937013394c739d1851c59c49146d1e;hb=64bd35ffec4a9929da496dbc1755fc8f2c806a74;hp=f559011c05c883008f2ab66297cdd637ffdd8fcd;hpb=979050bfb71550421272b98a608b64beba388271;p=supertux.git diff --git a/src/tinygettext/findlocale.cpp b/src/tinygettext/findlocale.cpp index f559011c0..dbcb961e1 100644 --- a/src/tinygettext/findlocale.cpp +++ b/src/tinygettext/findlocale.cpp @@ -156,7 +156,7 @@ accumulate_env(const char *name, FL_Locale *l) { #endif static void -canonise_fl(FL_Locale *l) { +canonize_fl(FL_Locale *l) { /* this function fixes some common locale-specifying mistakes */ /* en_UK -> en_GB */ if (l->lang && 0 == strcmp(l->lang, "en")) { @@ -524,7 +524,7 @@ FL_FindLocale(FL_Locale **locale, FL_Domain /*domain*/) { #endif if (success != FL_FAILED) { - canonise_fl(rtn); + canonize_fl(rtn); } *locale = rtn;