Rename HexTray config file

This commit is contained in:
Berke Viktor 2012-10-25 16:24:03 +02:00
parent 4f4958878a
commit 82a903f347
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
#include "callbacks.h"
#include "resource.h"
TCHAR BACKUP_INI_FILE[] = _T(".\\plugins\\config\\xtray.conf");
TCHAR BACKUP_INI_FILE[] = _T(".\\plugins\\config\\hextray.conf");
struct HOTKEY g_hHotKey;
/* we need to convert ALT and SHIFT modifiers
@ -92,7 +92,7 @@ void SavePrefs(int iDlg)
char temp[1024];
TCHAR TEMP_INI_FILE[1024];
_snprintf(temp, 1024, "%s\\xtray.conf", xchat_get_info(ph, "xchatdir"));
_snprintf(temp, 1024, "%s\\hextray.conf", xchat_get_info(ph, "xchatdir"));
ConvertString(temp, TEMP_INI_FILE, 1024);
// ok this one is really ugly
@ -185,7 +185,7 @@ void LoadPrefs()
char temp[1024];
TCHAR TEMP_INI_FILE[1024];
_snprintf(temp, 1024, "%s\\xtray.conf", xchat_get_info(ph, "xchatdir"));
_snprintf(temp, 1024, "%s\\hextray.conf", xchat_get_info(ph, "xchatdir"));
ConvertString(temp, TEMP_INI_FILE, 1024);
if(FileExists(TEMP_INI_FILE))