Use configdir instead of *xchatdir*

This commit is contained in:
Berke Viktor committed 2012-11-04 23:55:36 +01:00
1 parent ad16ed3933
commit db218817fd
17 files changed
+45 -55

No files matched your search

+2 -2
View File
@@ -253,7 +253,7 @@ static void xdcc_save(void)
GSList *list;
fileoffer *offer;
snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "hexchatdir"));
snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "configdir"));
fp = fopen(buf, "w");
if(!fp)
@@ -280,7 +280,7 @@ static void xdcc_load(void)
char dl[128];
FILE *fp;
snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "hexchatdir"));
snprintf(buf, sizeof(buf), "%s/xdcclist.conf", hexchat_get_info(ph, "configdir"));
fp = fopen(buf, "r");
if(!fp)