summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 16:38:39 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 16:38:39 +0200
commit52525478ab1bc9cd68d4ebe70bbce667aa58314d (patch)
tree3ea96943755ed9319f7fd1193faf72a27f1523c7 /src/common
parentc33342b20245a1b611dc985dadec1db3df3f7521 (diff)
Config folder and some more HTM rebranding
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 111234e9..7f27659d 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -32,7 +32,7 @@
 
 #ifndef WIN32
 #include <unistd.h>
-#define XCHAT_DIR ".xchat2"
+#define HEXCHAT_DIR "hexchat"
 #endif
 
 #define DEF_FONT "Monospace 9"
@@ -325,7 +325,7 @@ get_xdir_fs (void)
 			if (!get_reg_str ("Software\\Microsoft\\Windows\\CurrentVersion\\"
 					"Explorer\\Shell Folders", "AppData", out, sizeof (out)))
 				return "./config";
-			xdir_fs = g_strdup_printf ("%s\\" "X-Chat 2", out);
+			xdir_fs = g_strdup_printf ("%s\\" "HexChat", out);
 		}
 	}
 	return xdir_fs;
@@ -337,7 +337,7 @@ char *
 get_xdir_fs (void)
 {
 	if (!xdir_fs)
-		xdir_fs = g_strdup_printf ("%s/" XCHAT_DIR, g_get_home_dir ());
+		xdir_fs = g_strdup_printf ("%s/.config/" HEXCHAT_DIR, g_get_home_dir ());
 
 	return xdir_fs;
 }