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=12aaf15269f53f56f0f493e99a0c91822075784a;p=supertux.git Revert API changes of findlocale SVN-Revision: 6396 --- 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);