mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 10:02:22 +02:00
add logic to default to XDG disabled
- defaults to XDG disabled unless the directory is present
This commit is contained in:
parent
a7e91f0ef2
commit
9123c6f178
1 changed files with 1 additions and 0 deletions
|
|
@ -200,6 +200,7 @@ void core_preinit(const char *path)
|
|||
char *str;
|
||||
int len;
|
||||
|
||||
xdg_support = 0;
|
||||
if (irssi_dir == NULL) {
|
||||
/* check if %XDG_CONFIG_HOME/irssi exists and default to it */
|
||||
char *dirp = g_build_filename(g_get_user_config_dir(), "irssi", NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue