From ee8d12c82ff2a399f8a9a9438b6bf6a80340bae3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 11 Mar 2004 21:23:44 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3055 --- checkin_notes | 7 +++++++ client/win/hostinfo_win.cpp | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index aa66424f6e..94f74a864b 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10427,3 +10427,10 @@ Rom Mar 9 2004 client/win/ hostinfo_win.cpp + +Rom Mar 11 2004 + - Properly identify Windows Longhorn + + client/win/ + hostinfo_win.cpp + diff --git a/client/win/hostinfo_win.cpp b/client/win/hostinfo_win.cpp index 86e32ac48b..300cf70cf6 100755 --- a/client/win/hostinfo_win.cpp +++ b/client/win/hostinfo_win.cpp @@ -61,8 +61,7 @@ int get_host_info(HOST_INFO& host) { case VER_PLATFORM_WIN32_NT: // Test for the specific product family. - if ( (osvi.dwMajorVersion >= 5) || - ((osvi.dwMajorVersion == 5) && (osvi.dwMinorVersion >= 2)) ) + if ( osvi.dwMajorVersion >= 6 ) strcpy( host.os_name, "Microsoft Windows Longhorn " ); if ( osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2 )