Small fixes.

This commit is contained in:
Pablo Saratxaga 1998-11-25 18:15:53 +00:00 committed by Alexandre Julliard
parent 80a69b6bdf
commit e520e212ae
5 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
/*
* OLE2NLS library
* Greek
* (Greek strings in iso-8859-7)
* (Greek strings in cp1253)
*/
LOCVAL(LOCALE_ILANGUAGE,"0408")

View File

@ -1,7 +1,7 @@
/*
* OLE2NLS library
* Slovakia
* (Slovakian strings in iso-8859-2)
* (Slovakian strings in cp1250)
*/
LOCVAL(LOCALE_ILANGUAGE,"041b")

View File

@ -103,8 +103,8 @@ LOCVAL(LOCALE_IPOSSEPBYSPACE, "0")
LOCVAL(LOCALE_INEGSYMPRECEDES, "1")
LOCVAL(LOCALE_INEGSEPBYSPACE, "0")
LOCVAL(LOCALE_FONTSIGNATURE, "")
LOCVAL(LOCALE_SISO639LANGNAME, """")
LOCVAL(LOCALE_SISO3166CTRYNAME, """")
LOCVAL(LOCALE_SISO639LANGNAME, "th")
LOCVAL(LOCALE_SISO3166CTRYNAME, "TH")
/*LOCVAL(LOCALE_IDEFAULTEBCDICCODEPAGE, """")*/
/*LOCVAL(LOCALE_IPAPERSIZE, """")*/
/*LOCVAL(LOCALE_SENGCURRNAME, """")*/

View File

@ -1,7 +1,7 @@
/*
* OLE2NLS library
* Turkey
* (Turkish strings in iso-8859-9)
* (Turkish strings in cp1254)
*/
LOCVAL(LOCALE_ILANGUAGE,"041f")

View File

@ -683,7 +683,7 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
}
found=0;lang=lcid;
for (i=0;i<3;i++) {
for (i=0;(i<3 && !found);i++) {
int 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)
}
if(!found) {
ERR(ole,"'%s' not supported for your language (%4X).\n",
retString,lang);
ERR(ole,"'%s' not supported for your language (%04X).\n",
retString,lcid);
SetLastError(ERROR_INVALID_PARAMETER);
return 0;
}