From 0a3c1096aa35584553d13e67ab796748d7cd3ecc Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 8 Nov 2008 15:43:26 +0000 Subject: [PATCH] 2008-11-08 16:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/version.c % Minor. --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/version.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d7b4fa7562..6188ddd550 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-11-08 16:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/rtl/version.c + % Minor. + 2008-11-08 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/version.c + Implemented: diff --git a/harbour/source/rtl/version.c b/harbour/source/rtl/version.c index f514511b50..b414c9e864 100644 --- a/harbour/source/rtl/version.c +++ b/harbour/source/rtl/version.c @@ -100,7 +100,10 @@ HB_FUNC( HB_VERSION ) for( iMonth = 11; iMonth >= 0; iMonth-- ) { if( memcmp( pszBuildDate, s_months[ iMonth ], 3 ) == 0 ) + { hb_snprintf( szDate + 4, 2, "%02d", iMonth ); + break; + } } hb_retds( szDate );