From 8ea64f258b078bfb18a85cf97ba549b9d219dba7 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 29 Jul 2007 08:16:50 +0000 Subject: [PATCH] Handle error case more correctly svn path=/trunk/; revision=27985 --- reactos/dll/cpl/sysdm/virtmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/cpl/sysdm/virtmem.c b/reactos/dll/cpl/sysdm/virtmem.c index 2de2f4536e1..dcbf1e8945d 100644 --- a/reactos/dll/cpl/sysdm/virtmem.c +++ b/reactos/dll/cpl/sysdm/virtmem.c @@ -310,7 +310,7 @@ OnSet(PVIRTMEM pVirtMem) field to the previous value */ SetDlgItemInt(pVirtMem->hSelf, IDC_INITIALSIZE, - Value, + pVirtMem->Pagefile[Index].InitialValue, FALSE); } else @@ -326,7 +326,7 @@ OnSet(PVIRTMEM pVirtMem) field to the previous value */ SetDlgItemInt(pVirtMem->hSelf, IDC_MAXSIZE, - Value, + pVirtMem->Pagefile[Index].MaxValue, FALSE); } else