From d2764accb231e4d89c76d477b996965be90fd085 Mon Sep 17 00:00:00 2001 From: henrypp Date: Thu, 30 Nov 2023 03:13:02 +0600 Subject: [PATCH] cosmetics --- src/editor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/editor.c b/src/editor.c index facca22b..2e80dcf0 100644 --- a/src/editor.c +++ b/src/editor.c @@ -953,7 +953,7 @@ INT_PTR CALLBACK EditorPagesProc ( case NM_DBLCLK: { LPNMITEMACTIVATE lpnmlv; - INT command_id; + INT command_id = 0; INT listview_id; lpnmlv = (LPNMITEMACTIVATE)lparam; @@ -961,7 +961,6 @@ INT_PTR CALLBACK EditorPagesProc ( if (lpnmlv->iItem == -1) break; - command_id = 0; listview_id = (INT)(INT_PTR)(lpnmlv->hdr.idFrom); if (listview_id == IDC_RULE_REMOTE_ID)