diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-17 00:04:51 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-17 00:04:51 +0000 |
commit | eafb6fe82f9430e48afdfe166d96079a34b98483 (patch) | |
tree | 4ca2a99d8ee24268d72d531b30b92ced173388d3 /src | |
parent | fbad9ef2ba71e8b2baf5ed45995e2d44f43637e8 (diff) | |
download | irssi-eafb6fe82f9430e48afdfe166d96079a34b98483.zip |
Theme saving to home dir didn't work correctly if globaldir already had
the same theme.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@994 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/themes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/themes.c b/src/fe-common/core/themes.c index d283376c..06910f39 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -881,7 +881,7 @@ static void theme_save(THEME_REC *theme) g_basename(theme->path)); str = strrchr(path, '/'); if (strncmp(theme->path, path, (int) (path-str)) == 0 || - config_write(config, str, 0660) == -1) + config_write(config, path, 0660) == -1) ok = FALSE; } printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE, |