From: mathnerd314 Date: Mon, 22 Feb 2010 21:26:44 +0000 (+0000) Subject: Revert API changes of findlocale X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=154763709963e2207e1a4fcaad924ee89ae437f5;p=supertux.git Revert API changes of findlocale git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6396 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/external/findlocale/findlocale.c b/external/findlocale/findlocale.c index e08ca9da1..4874ba2e4 100644 --- a/external/findlocale/findlocale.c +++ b/external/findlocale/findlocale.c @@ -416,7 +416,7 @@ lcid_to_fl(LCID lcid, FL_Success -FL_FindLocale(FL_Locale **locale) { +FL_FindLocale(FL_Locale **locale, FL_Domain domain) { FL_Success success = FL_FAILED; FL_Locale *rtn = malloc(sizeof(FL_Locale)); rtn->lang = NULL; diff --git a/external/findlocale/findlocale.h b/external/findlocale/findlocale.h index e1ae28524..c388deee4 100644 --- a/external/findlocale/findlocale.h +++ b/external/findlocale/findlocale.h @@ -27,7 +27,7 @@ typedef enum { /* This allocates/fills in a FL_Locale structure with pointers to strings (which should be treated as static), or NULL for inappropriate / undetected fields. */ -FL_Success FL_FindLocale(FL_Locale **locale); +FL_Success FL_FindLocale(FL_Locale **locale, FL_Domain domain); /* This should be used to free the struct written by FL_FindLocale */ void FL_FreeLocale(FL_Locale **locale);