summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/dlgHandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-04 07:39:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-04 07:39:03 +0000
commit10a684329affeb7fd20c777e1795ad7f212815f5 (patch)
tree73ce1884c14f763f232f20a60d0db2a74c47d09c /plugins/IEHistory/src/dlgHandlers.cpp
parentfbeb917c5230e0f64fb45e22488e91ab2f35c8f8 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14837 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEHistory/src/dlgHandlers.cpp')
-rw-r--r--plugins/IEHistory/src/dlgHandlers.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp
index a5694d933f..418ae16b9a 100644
--- a/plugins/IEHistory/src/dlgHandlers.cpp
+++ b/plugins/IEHistory/src/dlgHandlers.cpp
@@ -457,19 +457,13 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
break;
case IDC_PREV:
- {
- int finished = LoadPrev(hWnd);
- //EnableWindow(GetDlgItem(hWnd, IDC_PREV), !finished);
- //EnableWindow(GetDlgItem(hWnd, IDC_NEXT), TRUE);
+ LoadPrev(hWnd);
break;
- }
+
case IDC_NEXT:
- {
- int finished = LoadNext(hWnd);
- //EnableWindow(GetDlgItem(hWnd, IDC_NEXT), !finished);
- //EnableWindow(GetDlgItem(hWnd, IDC_PREV), TRUE);
+ LoadNext(hWnd);
break;
- }
+
case IDC_SEARCH:
HWND hSearch = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_SEARCH), hWnd, SearchDlgProc);
if (hSearch == NULL) {