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

+1 -1
View File
@@ -87,7 +87,7 @@ void loadThemes(){
FILE *f;
hexchat_print(ph,"loading themes\n");
hDir=(char*)calloc(1024,sizeof(char));
strcpy(hDir,hexchat_get_info(ph,"hexchatdirfs"));
strcpy(hDir,hexchat_get_info(ph,"configdir"));
hFile=str3cat(hDir,"\\","mpcInfo.theme.txt");
f = fopen(hFile,"r");
if(f==NULL)