Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Nov 29, 2023
1 parent f72a038 commit d2764ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,15 +953,14 @@ INT_PTR CALLBACK EditorPagesProc (
case NM_DBLCLK:
{
LPNMITEMACTIVATE lpnmlv;
INT command_id;
INT command_id = 0;
INT listview_id;

lpnmlv = (LPNMITEMACTIVATE)lparam;

if (lpnmlv->iItem == -1)
break;

command_id = 0;
listview_id = (INT)(INT_PTR)(lpnmlv->hdr.idFrom);

if (listview_id == IDC_RULE_REMOTE_ID)
Expand Down

0 comments on commit d2764ac

Please sign in to comment.