reactos/lib/ntdll/rtl
diff -u -r1.10 -r1.11
--- misc.c 5 Aug 2004 18:17:36 -0000 1.10
+++ misc.c 13 Dec 2004 23:11:13 -0000 1.11
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.10 2004/08/05 18:17:36 ion Exp $
+/* $Id: misc.c,v 1.11 2004/12/13 23:11:13 navaraf Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -84,7 +84,10 @@
if (minor)
{
- *minor = pPeb->OSMinorVersion;
+ if (pPeb->OSMinorVersion <= 5)
+ *minor = pPeb->OSMinorVersion < 1 ? 1 : pPeb->OSMinorVersion;
+ else
+ *minor = pPeb->OSMinorVersion;
}
if (build)