mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user