summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP
diff options
context:
space:
mode:
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>