Skip to content

Commit 2b99baa

Browse files
committed
[Fix] mpt/base/detect_os.hpp: Fix typo. Broken since r24835.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@24839 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent db78d91 commit 2b99baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpt/base/detect_os.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static_assert(NTDDI_WIN11_GE == MPT_WIN_11_24H2);
375375
#define MPT_OS_WINDOWS_WIN32 0
376376
// for Win9x, we encode the IE version in the lowest byte
377377
#if defined(_WIN32_IE)
378-
#define MPT_WIN_VERSION ((_WIN32_WINDOWS << 16)) | ((_WIN32_IE & 0xffff) >> 6))
378+
#define MPT_WIN_VERSION ((_WIN32_WINDOWS << 16)) | ((_WIN32_IE & 0xffff) >> 8))
379379
#else
380380
#define MPT_WIN_VERSION (_WIN32_WINDOWS << 16)
381381
#endif

0 commit comments

Comments
 (0)