summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-06 14:30:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-06 14:31:00 +0300
commit9f5868d8ba6d2b55c03fd5b201e87c125e04e3dc (patch)
treee6b1fda05fc3e9329d669f5b3262ae05e870372a /plugins/DbEditorPP
parentca9924be024e82cd5873207ad579773e82655c12 (diff)
fixes #3820 (Пропал перевод в дереве значков)
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r--plugins/DbEditorPP/src/icons.cpp2
-rw-r--r--plugins/DbEditorPP/src/main_window.cpp2
-rw-r--r--plugins/DbEditorPP/src/stdafx.h2
3 files changed, 3 insertions, 3 deletions
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<CMPlugin>