2012-03-28 14:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/fslink.c
% using HB_TCHAR_COPYFROM() macro instead of locally rolled
(equivalent) logic.
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-03-28 14:18 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* src/rtl/fslink.c
|
||||
% using HB_TCHAR_COPYFROM() macro instead of locally rolled
|
||||
(equivalent) logic.
|
||||
|
||||
2012-03-28 11:25 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* contrib/hbhpdf/3rd/libhpdf/hpdfcfg.h
|
||||
! stripped unused (as of 2.2.1) and potentially misleading libharu
|
||||
|
||||
@@ -252,11 +252,7 @@ char * hb_fsLinkRead( const char * pszFile )
|
||||
if( size > 0 )
|
||||
{
|
||||
pszLink = ( char * ) hb_xgrab( size + 1 );
|
||||
#if defined( UNICODE )
|
||||
hb_wcntombcpy( pszLink, lpLink, ( HB_SIZE ) size );
|
||||
#else
|
||||
hb_strncpy( pszLink, lpLink, ( HB_SIZE ) size );
|
||||
#endif
|
||||
HB_TCHAR_COPYFROM( pszLink, lpLink, ( HB_SIZE ) size );
|
||||
}
|
||||
else
|
||||
pszLink = NULL;
|
||||
|
||||
Reference in New Issue
Block a user