summary refs log tree commit diff stats
path: root/plugins/xtray/utility.cpp
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 12:56:03 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 12:56:03 +0200
commit3a8d4f91e500d8706e090463db3b4bf66eb6f6b5 (patch)
tree727b0424519d6db44953423ea6c4a565efdeadc8 /plugins/xtray/utility.cpp
parentd1029ab4eca2c67914fbcefc4e64fa5b6f45d8ee (diff)
make xtray builds available and some cosmetics
Diffstat (limited to 'plugins/xtray/utility.cpp')
-rw-r--r--plugins/xtray/utility.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xtray/utility.cpp b/plugins/xtray/utility.cpp
index dd9dd29f..93f445fe 100644
--- a/plugins/xtray/utility.cpp
+++ b/plugins/xtray/utility.cpp
@@ -26,7 +26,7 @@
 #include "callbacks.h"

 #include "resource.h"

 

-TCHAR BACKUP_INI_FILE[] = _T(".\\plugins\\config\\xTray.ini");

+TCHAR BACKUP_INI_FILE[] = _T(".\\plugins\\config\\xtray.conf");

 struct HOTKEY g_hHotKey;

 

 void SavePrefs(int iDlg)

@@ -48,7 +48,7 @@ void SavePrefs(int iDlg)
 	char temp[1024];

     TCHAR TEMP_INI_FILE[1024];

 	

-	_snprintf(temp, 1024, "%s\\xtray.ini", xchat_get_info(ph, "xchatdir"));

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

 	ConvertString(temp, TEMP_INI_FILE, 1024);

 

 	// ok this one is really ugly

@@ -141,7 +141,7 @@ void LoadPrefs()
 	char temp[1024];

 	TCHAR TEMP_INI_FILE[1024];

 

-	_snprintf(temp, 1024, "%s\\xtray.ini", xchat_get_info(ph, "xchatdir"));

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

 	ConvertString(temp, TEMP_INI_FILE, 1024);

 

 	if(FileExists(TEMP_INI_FILE))