2008-05-26 12:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbclipsm/gauge.c
     ! Fixed GPF in GaugeNew(). Old bug.
       (leak and non-function was a misreport, it 
       was indeed this GPF. Now it works correctly.)
This commit is contained in:
Viktor Szakats
2008-05-26 10:24:44 +00:00
parent b5d578680c
commit 9b8db0c3de
2 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,12 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-05-26 12:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbclipsm/gauge.c
! Fixed GPF in GaugeNew(). Old bug.
(leak and non-function was a misreport, it
was indeed this GPF. Now it works correctly.)
2008-05-26 12:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
* source/vm/extend.c

View File

@@ -95,7 +95,7 @@ HB_FUNC( GAUGENEW )
!( ISNUM( B_RIGHT ) &&
ISNUM( B_LEFT ) &&
( hb_parni( B_RIGHT ) < hb_parni( B_LEFT ) + 9 ) ) );
hb_arraySetC( pReturn, B_BARCHAR, ISCHAR( B_BARCHAR ) ? hb_parc( B_BARCHAR ) : ( char * ) '\xdb' );
hb_arraySetC( pReturn, B_BARCHAR, ISCHAR( B_BARCHAR ) ? hb_parc( B_BARCHAR ) : "\xdb" );
hb_arraySetNL( pReturn, B_PERCENT, 0 );
hb_itemReturnRelease( pReturn );