make xtray builds available and some cosmetics
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user