Small fixes.
This commit is contained in:
parent
80a69b6bdf
commit
e520e212ae
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* OLE2NLS library
|
* OLE2NLS library
|
||||||
* Greek
|
* Greek
|
||||||
* (Greek strings in iso-8859-7)
|
* (Greek strings in cp1253)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
LOCVAL(LOCALE_ILANGUAGE,"0408")
|
LOCVAL(LOCALE_ILANGUAGE,"0408")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* 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")
|
|||||||
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, """")*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* 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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user