Author: weiden
Date: Sun Jul 29 12:16:50 2007
New Revision: 27985
URL:
http://svn.reactos.org/svn/reactos?rev=27985&view=rev
Log:
Handle error case more correctly
Modified:
trunk/reactos/dll/cpl/sysdm/virtmem.c
Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/virtmem.c (original)
+++ trunk/reactos/dll/cpl/sysdm/virtmem.c Sun Jul 29 12:16:50 2007
@@ -310,7 +310,7 @@
field to the previous value */
SetDlgItemInt(pVirtMem->hSelf,
IDC_INITIALSIZE,
- Value,
+ pVirtMem->Pagefile[Index].InitialValue,
FALSE);
}
else
@@ -326,7 +326,7 @@
field to the previous value */
SetDlgItemInt(pVirtMem->hSelf,
IDC_MAXSIZE,
- Value,
+ pVirtMem->Pagefile[Index].MaxValue,
FALSE);
}
else