diff options
| -rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -614,7 +614,7 @@ redraw(char *path) ncols = PATH_MAX; strlcpy(cwd, path, ncols); cwd[ncols - strlen(CWD) - 1] = '\0'; - if (!realpath(cwd, cwdresolved)) { + if (!realpath(path, cwdresolved)) { printmsg("Cannot resolve path"); return; } |