From 9a57ca41b1629c239301d9b65563f6acb169ead1 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 28 Oct 2012 23:37:45 +0100 Subject: [PATCH] Use consistent addon config filenames --- plugins/hextray/utility.cpp | 6 +++--- 1 file 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))