summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-28 23:37:45 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-28 23:37:45 +0100
commit9a57ca41b1629c239301d9b65563f6acb169ead1 (patch)
tree171413aa018d28e46c9d069e02eca14929218197 /plugins
parentda54f7cc1109c86e3f19542360ba49f22407b228 (diff)
Use consistent addon config filenames
Diffstat (limited to 'plugins')
-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 6e552238..9cc421a6 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\\hextray.conf");

+TCHAR BACKUP_INI_FILE[] = _T(".\\plugins\\config\\addon_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\\hextray.conf", xchat_get_info(ph, "xchatdir"));

+	_snprintf(temp, 1024, "%s\\addon_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\\hextray.conf", xchat_get_info(ph, "xchatdir"));

+	_snprintf(temp, 1024, "%s\\addon_hextray.conf", xchat_get_info(ph, "xchatdir"));

 	ConvertString(temp, TEMP_INI_FILE, 1024);

 

 	if(FileExists(TEMP_INI_FILE))