[POWERCFG] Fix the undue change of monitor switch off time
[reactos.git] / dll / cpl / powercfg / powershemes.c
index cb6d16f..3b6d1f3 100644 (file)
@@ -395,7 +395,7 @@ Pos_SaveData(HWND hwndDlg)
     if (iCurSel == CB_ERR)
         return;
 
-    tmp = (INT)SendDlgItemMessage(hwndDlg, IDC_MONITORDCLIST,
+    tmp = (INT)SendDlgItemMessage(hwndDlg, IDC_MONITORACLIST,
                    CB_GETCURSEL,
                    0,
                    (LPARAM)0);