From 6ea772c9cd8f281478f3a521148c8ea50863fc74 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 Apr 2025 12:23:43 +0300 Subject: for #4956 - basic EmLAN icon --- protocols/EmLanProto/src/amdproto.cpp | 2 +- protocols/EmLanProto/src/resource.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/EmLanProto/src') diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp index 04e7197645..241f83c6fd 100644 --- a/protocols/EmLanProto/src/amdproto.cpp +++ b/protocols/EmLanProto/src/amdproto.cpp @@ -81,7 +81,7 @@ static INT_PTR __cdecl EMPLoadIcon(WPARAM wParam, LPARAM) if ((wParam & 0xFFFF) != PLI_PROTOCOL) return 0; - return (INT_PTR)LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_ICON_ONLINE)); + return (INT_PTR)LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_ICON_MAIN)); } static INT_PTR __cdecl EMPGetStatus(WPARAM, LPARAM) diff --git a/protocols/EmLanProto/src/resource.h b/protocols/EmLanProto/src/resource.h index 472138e5f5..f57809f5fc 100644 --- a/protocols/EmLanProto/src/resource.h +++ b/protocols/EmLanProto/src/resource.h @@ -3,7 +3,8 @@ // Used by amdproto.rc // #define IDI_ICON_ONLINE 101 -#define IDI_ICON_OFFLINE 103 +#define IDI_ICON_OFFLINE 102 +#define IDI_ICON_MAIN 103 #define IDD_EMP_FORM_OPT 104 #define IDC_LIST_IP 1001 #define IDC_RADIO_USECOMPNAME 1004 -- cgit v1.2.3