aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsylph/prefs_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 86da293a..df545d3f 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -554,7 +554,7 @@ void prefs_common_junk_folder_rename_path(const gchar *old_path,
if (!prefs_common.junk_folder)
return;
- len = strlen(prefs_common.junk_folder);
+ len = strlen(old_path);
if (!strncmp(old_path, prefs_common.junk_folder, len)) {
base = prefs_common.junk_folder + len;