summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r--plugins/Db_autobackups/src/backup.cpp2
-rw-r--r--plugins/Db_autobackups/src/headers.h17
2 files changed, 8 insertions, 11 deletions
diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp
index 22090ee0f6..a637ba7fe4 100644
--- a/plugins/Db_autobackups/src/backup.cpp
+++ b/plugins/Db_autobackups/src/backup.cpp
@@ -36,7 +36,7 @@ void ShowPopup(TCHAR* ptszText, TCHAR* ptszHeader, TCHAR* ptszPath)
if (ptszPath != NULL)
ppd.PluginData = (void*)mir_tstrdup(ptszPath);
ppd.PluginWindowProc = DlgProcPopup;
- ppd.lchIcon = Skin_GetIconByHandle(iconList[0].hIcolib);
+ ppd.lchIcon = Skin_GetIcon(iconList[0].szName);
PUAddPopupT(&ppd);
}
diff --git a/plugins/Db_autobackups/src/headers.h b/plugins/Db_autobackups/src/headers.h
index 77fdd86a14..a3bc9d04a9 100644
--- a/plugins/Db_autobackups/src/headers.h
+++ b/plugins/Db_autobackups/src/headers.h
@@ -23,29 +23,26 @@
#include "version.h"
-#define MS_AB_BACKUP "AB/Backup"
-#define MS_AB_SAVEAS "AB/SaveAs"
+#define MS_AB_BACKUP "AB/Backup"
+#define MS_AB_SAVEAS "AB/SaveAs"
-#define SUB_DIR L"\\AutoBackups"
-#define DIR L"%miranda_userdata%"
+#define SUB_DIR L"\\AutoBackups"
+#define DIR L"%miranda_userdata%"
int SetBackupTimer(void);
int OptionsInit(WPARAM wParam, LPARAM lParam);
int LoadOptions(void);
-void BackupStart(TCHAR *backup_filename);
+void BackupStart(TCHAR *backup_filename);
extern HINSTANCE g_hInstance;
-extern TCHAR *profilePath;
-
+extern TCHAR *profilePath;
static IconItem iconList[] = {
- { LPGEN("Backup profile"), "backup", IDI_ICON1 },
+ { LPGEN("Backup profile"), "backup", IDI_ICON1 },
{ LPGEN("Save profile as..."), "saveas", IDI_ICON1 }
};
-
-
#endif