Commit e520e212 authored by Pablo Saratxaga's avatar Pablo Saratxaga Committed by Alexandre Julliard

Small fixes.

parent 80a69b6b
/* /*
* OLE2NLS library * OLE2NLS library
* Greek * Greek
* (Greek strings in iso-8859-7) * (Greek strings in cp1253)
*/ */
LOCVAL(LOCALE_ILANGUAGE,"0408") LOCVAL(LOCALE_ILANGUAGE,"0408")
......
/* /*
* OLE2NLS library * OLE2NLS library
* Slovakia * Slovakia
* (Slovakian strings in iso-8859-2) * (Slovakian strings in cp1250)
*/ */
LOCVAL(LOCALE_ILANGUAGE,"041b") LOCVAL(LOCALE_ILANGUAGE,"041b")
......
...@@ -103,8 +103,8 @@ LOCVAL(LOCALE_IPOSSEPBYSPACE, "0") ...@@ -103,8 +103,8 @@ LOCVAL(LOCALE_IPOSSEPBYSPACE, "0")
LOCVAL(LOCALE_INEGSYMPRECEDES, "1") LOCVAL(LOCALE_INEGSYMPRECEDES, "1")
LOCVAL(LOCALE_INEGSEPBYSPACE, "0") LOCVAL(LOCALE_INEGSEPBYSPACE, "0")
LOCVAL(LOCALE_FONTSIGNATURE, "") LOCVAL(LOCALE_FONTSIGNATURE, "")
LOCVAL(LOCALE_SISO639LANGNAME, """") LOCVAL(LOCALE_SISO639LANGNAME, "th")
LOCVAL(LOCALE_SISO3166CTRYNAME, """") LOCVAL(LOCALE_SISO3166CTRYNAME, "TH")
/*LOCVAL(LOCALE_IDEFAULTEBCDICCODEPAGE, """")*/ /*LOCVAL(LOCALE_IDEFAULTEBCDICCODEPAGE, """")*/
/*LOCVAL(LOCALE_IPAPERSIZE, """")*/ /*LOCVAL(LOCALE_IPAPERSIZE, """")*/
/*LOCVAL(LOCALE_SENGCURRNAME, """")*/ /*LOCVAL(LOCALE_SENGCURRNAME, """")*/
......
/* /*
* OLE2NLS library * OLE2NLS library
* Turkey * Turkey
* (Turkish strings in iso-8859-9) * (Turkish strings in cp1254)
*/ */
LOCVAL(LOCALE_ILANGUAGE,"041f") LOCVAL(LOCALE_ILANGUAGE,"041f")
......
...@@ -683,7 +683,7 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len) ...@@ -683,7 +683,7 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
} }
found=0;lang=lcid; found=0;lang=lcid;
for (i=0;i<3;i++) { for (i=0;(i<3 && !found);i++) {
int j; int j;
for (j=0;j<sizeof(langlocales)/sizeof(langlocales[0]);j++) { for (j=0;j<sizeof(langlocales)/sizeof(langlocales[0]);j++) {
...@@ -708,8 +708,8 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len) ...@@ -708,8 +708,8 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
} }
if(!found) { if(!found) {
ERR(ole,"'%s' not supported for your language (%4X).\n", ERR(ole,"'%s' not supported for your language (%04X).\n",
retString,lang); retString,lcid);
SetLastError(ERROR_INVALID_PARAMETER); SetLastError(ERROR_INVALID_PARAMETER);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment