From 12aaf15269f53f56f0f493e99a0c91822075784a Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Mon, 22 Feb 2010 21:26:44 +0000 Subject: [PATCH] Revert API changes of findlocale SVN-Revision: 6396 --- external/findlocale/findlocale.c | 2 +- external/findlocale/findlocale.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.11.0