From 5ea5b2d18a4a05133295d71f2e296729e0c52df7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 21 Oct 2008 07:35:52 +0000 Subject: [PATCH] 2008-10-21 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/console.c ! Fixed typo in hb_dispoutAt() numeric color handling. * source/rtl/box.c * Minor formatting. --- harbour/ChangeLog | 7 +++++++ harbour/source/rtl/box.c | 1 - harbour/source/rtl/console.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1ce2254f7a..da7c1f11ed 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-10-21 09:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/console.c + ! Fixed typo in hb_dispoutAt() numeric color handling. + + * source/rtl/box.c + * Minor formatting. + 2008-10-21 08:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + contrib/rddsql + contrib/rddsql/common.mak diff --git a/harbour/source/rtl/box.c b/harbour/source/rtl/box.c index 7e7d443e63..75f5ebd532 100644 --- a/harbour/source/rtl/box.c +++ b/harbour/source/rtl/box.c @@ -124,7 +124,6 @@ HB_FUNC( HB_DISPBOX ) const char * pszColor = hb_parc( 6 ); int iColor; - if( pszColor ) iColor = hb_gtColorToN( pszColor ); else if( ISNUM( 6 ) ) diff --git a/harbour/source/rtl/console.c b/harbour/source/rtl/console.c index 9a03bf6d34..6fd85305f2 100644 --- a/harbour/source/rtl/console.c +++ b/harbour/source/rtl/console.c @@ -593,8 +593,8 @@ HB_FUNC( HB_DISPOUTAT ) if( ISCHAR( 4 ) ) iColor = hb_gtColorToN( hb_parc( 4 ) ); - else if( ISNUM( 6 ) ) - iColor = hb_parni( 6 ); + else if( ISNUM( 4 ) ) + iColor = hb_parni( 4 ); else iColor = -1;