From eb214d1e4b7f5665ce46ba1e85594de5027af488 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 26 Feb 2009 11:56:01 +0000 Subject: [PATCH] 2009-02-26 12:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Attempt to fix SetMode() always returning FALSE when the window isn't open yet. Please test, I didn't. --- harbour/ChangeLog | 5 +++++ harbour/source/rtl/gtwvt/gtwvt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f78d9815af..0149b11d58 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-26 12:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/gtwvt/gtwvt.c + ! Attempt to fix SetMode() always returning FALSE when + the window isn't open yet. Please test, I didn't. + 2009-02-26 12:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c ! Fixed HB_GTI_CLOSABLE when set before window initialization. diff --git a/harbour/source/rtl/gtwvt/gtwvt.c b/harbour/source/rtl/gtwvt/gtwvt.c index 611f357710..6a5ea14aed 100644 --- a/harbour/source/rtl/gtwvt/gtwvt.c +++ b/harbour/source/rtl/gtwvt/gtwvt.c @@ -1965,7 +1965,7 @@ static BOOL hb_gt_wvt_SetMode( PHB_GT pGT, int iRow, int iCol ) } else { - hb_gt_wvt_SetWindowSize( pWVT, iRow, iCol ); + fResult = hb_gt_wvt_SetWindowSize( pWVT, iRow, iCol ); HB_GTSELF_SEMICOLD( pGT ); } }