Some more rebranding

This commit is contained in:
Berke Viktor 2012-07-20 15:52:33 +02:00
parent 47d6222f1c
commit 5290c7f392
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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';

View File

@ -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))