From 42013c528f7d74bde0096c8b8091933dc3e9c416 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 21 Oct 2008 12:58:55 +0000 Subject: [PATCH] 2008-10-21 14:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/box.c ! Fixed GPF in hb_dispBox() when box drawing chars were not passed. --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/box.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 07056dbd8b..4b32001490 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-10-21 14:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/box.c + ! Fixed GPF in hb_dispBox() when box drawing chars + were not passed. 2008-10-21 13:17 UTC+0100 Miguel Angel Marchuet * contrib/xhb/hbcompat.ch diff --git a/harbour/source/rtl/box.c b/harbour/source/rtl/box.c index 75f5ebd532..287d9f7f52 100644 --- a/harbour/source/rtl/box.c +++ b/harbour/source/rtl/box.c @@ -120,7 +120,7 @@ HB_FUNC( HB_DISPBOX ) if( pTop && pLeft && pBottom && pRight ) { - const char * pszBox = hb_parc( 5 ); + const char * pszBox = hb_parcx( 5 ); const char * pszColor = hb_parc( 6 ); int iColor;