From a0a8c695abf987702573e3ad2f31284e758bdde3 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 31 Mar 2010 04:22:48 +0000 Subject: [PATCH] fixed typo --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 2867f47fb..3a3db44fb 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -562,7 +562,7 @@ namespace aux { // version. boost::uint32_t windows_version = ((osv.dwMajorVersion & 0xff) << 16) - | ((osv.dwMinorVersion & 0xff) << 8); + | ((osv.dwMinorVersion & 0xff) << 8) | (osv.wServicePackMajor & 0xff); // this is the format of windows_version