[SYSDM]: Fix a SendDlgItemMessage(LB_GETITEMDATA) call that missed the index of the list item being selected. This fixes setting the page file for the actual selected disk.

Caught by "cagey45" contributor on the forums: https://reactos.org/forum/viewtopic.php?f=9&t=16439 ; see also CORE-1151.

svn path=/trunk/; revision=74657
This commit is contained in:
Hermès Bélusca-Maïto 2017-05-25 18:36:45 +00:00
parent 9187043762
commit 4ba7bf7dbe

View file

@ -406,7 +406,7 @@ OnSet(PVIRTMEM pVirtMem)
DriveIndex = SendDlgItemMessage(pVirtMem->hSelf,
IDC_PAGEFILELIST,
LB_GETITEMDATA,
0,
(WPARAM)Index,
0);
/* Check if custom settings are checked */