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:
Viktor Szakats
2012-03-28 12:19:01 +00:00
parent 7e8476a8e7
commit 3a09b74d01
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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;