summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-20 15:52:33 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-20 15:52:33 +0200
commit5290c7f392651acbf558709f487eb0bf651dd410 (patch)
treedbd0042d8da8b69f4eb1ba27d98a6223145ae795 /plugins
parent47d6222f1c66332a652fc4d49fc39b4b04905beb (diff)
Some more rebranding
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hextray/utility.cpp4
-rw-r--r--plugins/perl/perl.c4
-rw-r--r--plugins/python/python.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/hextray/utility.cpp b/plugins/hextray/utility.cpp
index ccf78f4e..8f6caa27 100644
--- a/plugins/hextray/utility.cpp
+++ b/plugins/hextray/utility.cpp
@@ -97,9 +97,9 @@ void SavePrefs(int iDlg)
 

 	// ok this one is really ugly

 	// it checks to see if the file exists in two locations

-	// HexChat default config dir, if that fails it tries xchat\plugins\config

+	// HexChat default config dir, if that fails it tries hexchat\plugins\config

 	// if neither one exists it tries to create it in

-	// HexChat default config dir, if that fails it tries xchat\plugins\config

+	// HexChat default config dir, if that fails it tries hexchat\plugins\config

 	// In either case it writes \xFF\xFE to the file ( on creation )

 	// so that we can save unicode away messages WritePrivateProfile doesn't 

 	// do this for us, though I think it really should

diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 1250e766..2898fed5 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -144,7 +144,7 @@ perl_auto_load (void *unused)
 	if (!xdir)			/* xchatdirfs is new for 2.0.9, will fail on older */
 		xdir = xchat_get_info (ph, "xchatdir");
 
-	/* autoload from ~/.xchat2/ or ${APPDATA}\HexChat\ on win32 */
+	/* autoload from ~/.config/hexchat/ or %APPDATA%\HexChat\ on win32 */
 	perl_auto_load_from_path (xdir);
 
 	sub_dir = malloc (strlen (xdir) + 9);
@@ -154,7 +154,7 @@ perl_auto_load (void *unused)
 	free (sub_dir);
 
 #ifdef WIN32
-	/* autoload from  C:\program files\xchat\plugins\ */
+	/* autoload from  C:\Program Files\HexChat\plugins\ */
 	sub_dir = malloc (1025 + 9);
 	copied = GetModuleFileName( 0, sub_dir, 1024 );
 	sub_dir[copied] = '\0';
diff --git a/plugins/python/python.c b/plugins/python/python.c
index 3824fd37..ebbf4f38 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -389,7 +389,7 @@ Util_Autoload()
 	char *sub_dir;
 	/* we need local filesystem encoding for chdir, opendir etc */
 
-	/* auto-load from ~/.xchat2/ or %APPDATA%\HexChat\ */
+	/* auto-load from ~/.config/hexchat/ or %APPDATA%\HexChat\ */
 	xdir = xchat_get_info(ph, "xchatdirfs");
 	Util_Autoload_from(xchat_get_info(ph, "xchatdirfs"));
 
@@ -400,7 +400,7 @@ Util_Autoload()
 	Util_Autoload_from(sub_dir);
 	free (sub_dir);
 
-#ifdef WIN32	/* also auto-load C:\Program Files\XChat\Plugins\*.py */
+#ifdef WIN32	/* also auto-load C:\Program Files\HexChat\Plugins\*.py */
 	Util_Autoload_from(HEXCHATLIBDIR"/plugins");
 #endif
 }
@@ -437,7 +437,7 @@ Util_Expand(char *filename)
 		return expanded;
 	g_free(expanded);
 
-	/* Check if ~/.xchat2/<filename> exists. */
+	/* Check if ~/.config/hexchat/<filename> exists. */
 	expanded = g_build_filename(xchat_get_info(ph, "xchatdir"),
 				    filename, NULL);
 	if (g_file_test(expanded, G_FILE_TEST_EXISTS))