Author: dchapyshev
Date: Tue Apr 15 13:50:40 2008
New Revision: 32982
URL:
http://svn.reactos.org/svn/reactos?rev=32982&view=rev
Log:
- Small fix
Modified:
trunk/reactos/dll/cpl/main/mouse.c
Modified: trunk/reactos/dll/cpl/main/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=3…
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/main/mouse.c [iso-8859-1] Tue Apr 15 13:50:40 2008
@@ -229,10 +229,12 @@
hDlgCtrl = GetDlgItem(hwndDlg, IDC_SLIDER_CLICK_LOCK);
pButtonData->g_ClickLockTime = (DWORD) (SendMessage(hDlgCtrl,
TBM_GETPOS, 0, 0) * 200) + 200;
EndDialog(hwndDlg, TRUE);
+ if (hIcon) DestroyIcon(hIcon);
}
else if (LOWORD(wParam) == IDCANCEL)
{
EndDialog(hwndDlg, FALSE);
+ if (hIcon) DestroyIcon(hIcon);
}
break;
}