From 3eac677e106aceecda995fe2f1119e2d17265110 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 15 Dec 2001 15:05:32 +0000 Subject: [PATCH] 2001-12-15 16:04 UTC+0100 Viktor Szakats --- harbour/ChangeLog | 7 +++++++ harbour/source/common/hbver.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 65ea0a6a38..ca4e41ab7a 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2001-12-15 16:04 UTC+0100 Viktor Szakats + + * source/common/hbver.c + ! Displays Windows XP properly + ! Displays Windows ME properly (well, hopefully because I + couldn't test this, if anyone has ME, please test it.) + 2001-12-15 15:53 UTC+0100 Viktor Szakats * source/rdd/dbfcdx/dbfcdx1.c diff --git a/harbour/source/common/hbver.c b/harbour/source/common/hbver.c index 0e54590cfb..ec780a335c 100644 --- a/harbour/source/common/hbver.c +++ b/harbour/source/common/hbver.c @@ -213,12 +213,16 @@ char * hb_verPlatform( void ) pszName = "Windows 95"; else if( osVer.dwMajorVersion == 4 && osVer.dwMinorVersion == 10 ) pszName = "Windows 98"; + else + pszName = "Windows ME"; break; case VER_PLATFORM_WIN32_NT: - if( osVer.dwMajorVersion == 5 ) + if( osVer.dwMajorVersion == 5 && osVer.dwMinorVersion == 1 ) + pszName = "Windows XP"; + else if( osVer.dwMajorVersion == 5 ) pszName = "Windows 2000"; else pszName = "Windows NT";