From 9f5868d8ba6d2b55c03fd5b201e87c125e04e3dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Nov 2023 14:30:49 +0300 Subject: =?UTF-8?q?fixes=20#3820=20(=D0=9F=D1=80=D0=BE=D0=BF=D0=B0=D0=BB?= =?UTF-8?q?=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=20=D0=B2=20=D0=B4?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=20=D0=B7=D0=BD=D0=B0=D1=87=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/DbEditorPP/src/icons.cpp | 2 +- plugins/DbEditorPP/src/main_window.cpp | 2 +- plugins/DbEditorPP/src/stdafx.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/DbEditorPP') diff --git a/plugins/DbEditorPP/src/icons.cpp b/plugins/DbEditorPP/src/icons.cpp index 2ae251916a..f514326664 100644 --- a/plugins/DbEditorPP/src/icons.cpp +++ b/plugins/DbEditorPP/src/icons.cpp @@ -38,7 +38,7 @@ static IconItem iconList[] = { void IcoLibRegister(void) { - g_plugin.registerIcon(modFullname, iconList); + g_plugin.registerIcon(LPGEN("Database") "/" modFullname, iconList); } HICON LoadSkinnedDBEIcon(int icon) diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp index 1553cbc8ea..0a07438f6c 100644 --- a/plugins/DbEditorPP/src/main_window.cpp +++ b/plugins/DbEditorPP/src/main_window.cpp @@ -501,7 +501,7 @@ LRESULT CMainDlg::OnCommand(UINT, WPARAM wParam, LPARAM) refreshTree(1); break; case MENU_OPEN_OPTIONS: - g_plugin.openOptions(L"Database", _A2W(modFullname)); + g_plugin.openOptions(L"Database", modFullnameW); break; } return TRUE; diff --git a/plugins/DbEditorPP/src/stdafx.h b/plugins/DbEditorPP/src/stdafx.h index 79e875b3b9..6bb0dc925c 100644 --- a/plugins/DbEditorPP/src/stdafx.h +++ b/plugins/DbEditorPP/src/stdafx.h @@ -44,7 +44,7 @@ //======================================================= #define MODULENAME "DBEditorpp" -#define modFullname "Database Editor++" +#define modFullname LPGEN("Database Editor++") #define modFullnameW L"Database Editor++" struct CMPlugin : public PLUGIN -- cgit v1.2.3