1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 12:42:16 -05:00

Rename HexTray config file

This commit is contained in:
Berke Viktor 2012-10-25 16:24:03 +02:00
parent 4f4958878a
commit 82a903f347

View File

@ -27,7 +27,7 @@
#include "callbacks.h" #include "callbacks.h"
#include "resource.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; struct HOTKEY g_hHotKey;
/* we need to convert ALT and SHIFT modifiers /* we need to convert ALT and SHIFT modifiers
@ -92,7 +92,7 @@ void SavePrefs(int iDlg)
char temp[1024]; char temp[1024];
TCHAR TEMP_INI_FILE[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); ConvertString(temp, TEMP_INI_FILE, 1024);
// ok this one is really ugly // ok this one is really ugly
@ -185,7 +185,7 @@ void LoadPrefs()
char temp[1024]; char temp[1024];
TCHAR TEMP_INI_FILE[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); ConvertString(temp, TEMP_INI_FILE, 1024);
if(FileExists(TEMP_INI_FILE)) if(FileExists(TEMP_INI_FILE))