make xtray builds available and some cosmetics

This commit is contained in:
berkeviktor@aol.com
2010-08-16 12:56:03 +02:00
parent d1029ab4ec
commit 3a8d4f91e5
4 changed files with 13 additions and 13 deletions

View File

@@ -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))