diff options
Diffstat (limited to 'noice.c')
-rw-r--r-- | noice.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include <string.h> #include <unistd.h> +#include "safetitle.h" #include "util.h" #ifdef DEBUG @@ -698,6 +699,7 @@ nochange: /* Save history */ strlcpy(oldpath, path, sizeof(oldpath)); strlcpy(path, dir, sizeof(path)); + safetitle(path); /* Reset filter */ strlcpy(fltr, ifilter, sizeof(fltr)); goto begin; @@ -731,6 +733,7 @@ nochange: goto nochange; } strlcpy(path, newpath, sizeof(path)); + safetitle(path); /* Reset filter */ strlcpy(fltr, ifilter, sizeof(fltr)); goto begin; @@ -801,6 +804,7 @@ nochange: goto nochange; } strlcpy(path, newpath, sizeof(path)); + safetitle(path); /* Reset filter */ strlcpy(fltr, ifilter, sizeof(fltr)); DPRINTF_S(path); @@ -816,6 +820,7 @@ nochange: goto nochange; } strlcpy(path, tmp, sizeof(path)); + safetitle(path); /* Reset filter */ strlcpy(fltr, ifilter, sizeof(fltr)); DPRINTF_S(path); |