From c441d870aa6caa19de5fac59a48e4573170fa49f Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 1 Nov 2007 17:17:14 +0000 Subject: [PATCH] 2007-11-01 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * added mossing const in declaration * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * changed EOL style to CRLF --- harbour/ChangeLog | 10 ++++++++++ harbour/source/rtl/cdpapi.c | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 486e74d675..4b48877a34 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,16 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-11-01 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/cdpapi.c + * added mossing const in declaration + + * harbour/contrib/xhb/make_b32.bat + * harbour/contrib/xhb/make_vc.bat + * harbour/contrib/win32/make_b32.bat + * harbour/contrib/win32/make_vc.bat + * changed EOL style to CRLF + 2007-11-01 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * changed accented character handling and multibyte character diff --git a/harbour/source/rtl/cdpapi.c b/harbour/source/rtl/cdpapi.c index 56bd5cee4e..3c4943a174 100644 --- a/harbour/source/rtl/cdpapi.c +++ b/harbour/source/rtl/cdpapi.c @@ -819,7 +819,7 @@ HB_EXPORT int hb_cdpchrcmp( char cFirst, char cSecond, PHB_CODEPAGE cdpage ) } -static int hb_cdpMultiWeight( PHB_CODEPAGE cdpage, char * szChar ) +static int hb_cdpMultiWeight( PHB_CODEPAGE cdpage, const char * szChar ) { PHB_MULTICHAR pmulti = cdpage->multi; int j; @@ -956,7 +956,7 @@ HB_EXPORT int hb_cdpcmp( const char* szFirst, ULONG ulLenFirst, const char* szSe return iRet; } -static int hb_cdpMultiWeightI( PHB_CODEPAGE cdpage, char * szChar ) +static int hb_cdpMultiWeightI( PHB_CODEPAGE cdpage, const char * szChar ) { PHB_MULTICHAR pmulti = cdpage->multi; int j;