summary refs log tree commit diff stats
path: root/plugins/hextray/utility.cpp
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-25 16:24:03 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-25 16:24:03 +0200
commit82a903f347c737519bcc3be59cea5a53e337b6da (patch)
tree09bd4093dd5a326defc81d7a166e44771caa494a /plugins/hextray/utility.cpp
parent4f4958878a74d97f9f43e8add855bc2ee22c1de4 (diff)
Rename HexTray config file
Diffstat (limited to 'plugins/hextray/utility.cpp')
-rw-r--r--plugins/hextray/utility.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/hextray/utility.cpp b/plugins/hextray/utility.cpp
index 4a2ddde7..6e552238 100644
--- a/plugins/hextray/utility.cpp
+++ b/plugins/hextray/utility.cpp
@@ -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))