2010-04-16 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* src/rtl/gtclip.c
    + Added parenthesis.

  * contrib/hbmisc/hbeditc.c
    ! Pacified uninit variable MSVC warning.
This commit is contained in:
Viktor Szakats
2010-04-16 09:27:32 +00:00
parent fe77740954
commit 369c110efe
3 changed files with 9 additions and 1 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-04-16 11:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtclip.c
+ Added parenthesis.
* contrib/hbmisc/hbeditc.c
! Pacified uninit variable MSVC warning.
2010-04-15 08:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/gtos2.c
* small cleanup in TONE code

View File

@@ -942,6 +942,7 @@ HB_FUNC( ED_STABILIZE )
* ^-first visible column
*/
e = 0;
i = 0;
if( pEd->escape )
{
for( i = 0; i < ( pEd->first_col + e ); i++ )

View File

@@ -127,7 +127,7 @@ HB_BOOL hb_gt_winapi_setClipboard( HB_UINT uFormat, const char * szClipData, HB_
EmptyClipboard();
/* Allocate a global memory object for the text. */
hglbCopy = GlobalAlloc( GMEM_MOVEABLE, uFormat == CF_UNICODETEXT ? ( ulLen + 1 ) * sizeof( wchar_t ) : ulLen + 1 );
hglbCopy = GlobalAlloc( GMEM_MOVEABLE, uFormat == CF_UNICODETEXT ? ( ulLen + 1 ) * sizeof( wchar_t ) : ( ulLen + 1 ) );
if( hglbCopy )
{
/* Lock the handle and copy the text to the buffer. */