mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
Changed the values for the page file size from the registry from Byte to MByte.
svn path=/trunk/; revision=3348
This commit is contained in:
parent
e0c35e0076
commit
d7f19d41ea
|
@ -1,4 +1,4 @@
|
|||
/* $Id: init.c,v 1.40 2002/08/14 20:58:39 dwelch Exp $
|
||||
/* $Id: init.c,v 1.41 2002/08/17 15:31:03 hbirr Exp $
|
||||
*
|
||||
* init.c - Session Manager initialization
|
||||
*
|
||||
|
@ -404,11 +404,13 @@ SmPagingFilesQueryRoutine(PWSTR ValueName,
|
|||
if ((p = wcschr(ValueData, ' ')) != NULL)
|
||||
{
|
||||
*p = L'\0';
|
||||
InitialSize.QuadPart = wcstoul(p + 1, &p, 0);
|
||||
InitialSize.QuadPart = wcstoul(p + 1, &p, 0) * 256 * 4096;
|
||||
if (*p == ' ')
|
||||
{
|
||||
MaximumSize.QuadPart = wcstoul(p + 1, NULL, 0);
|
||||
MaximumSize.QuadPart = wcstoul(p + 1, NULL, 0) * 256 * 4096;
|
||||
}
|
||||
else
|
||||
MaximumSize = InitialSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue