diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-31 15:00:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-31 15:00:22 +0000 |
commit | 68451f4b4c67526bcc63998f223de4a028923cb3 (patch) | |
tree | 8af048c096398000d46e1d58f28807e3c4b52b07 /plugins/Db_autobackups/src/main.cpp | |
parent | c1e9c8eea35839fca115ad87423931f447b2be48 (diff) |
icons to be registered before menu creation, not after
git-svn-id: http://svn.miranda-ng.org/main/trunk@6719 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/main.cpp')
-rw-r--r-- | plugins/Db_autobackups/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp index 67286ff81d..42b9eda1ce 100644 --- a/plugins/Db_autobackups/src/main.cpp +++ b/plugins/Db_autobackups/src/main.cpp @@ -42,6 +42,8 @@ static void FoldersInit(void) static void MenuInit(void)
{
+ Icon_Register(hInst, LPGEN("Database")"/"LPGEN("Database backups"), iconList, SIZEOF(iconList));
+
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszPopupName = LPGEN("Database");
@@ -62,8 +64,6 @@ static int ModulesLoad(WPARAM, LPARAM) {
profilePath = Utils_ReplaceVarsT(_T("%miranda_userdata%"));
- Icon_Register(hInst, LPGEN("Database")"/"LPGEN("Database backups"), iconList, SIZEOF(iconList));
-
FoldersInit();
LoadOptions();
|