commit | dd41037552c1be3548d2ce34bb1c889f14edb553 | [log] [tgz] |
---|---|---|
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | Sun May 15 13:59:11 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun May 15 13:59:11 2022 +0100 |
tree | 92d4352bf89c6918c9c7e5254c438bc183997bfb | |
parent | b559b302e0ecc6fced03d5201dc30f10cff7af0a [diff] [blame] |
patch 8.2.4958: a couple conditions are always true Problem: A couple conditions are always true. Solution: Remove the conditions. (Goc Dundar, closes #10428)
diff --git a/src/quickfix.c b/src/quickfix.c index aab1683..dde3f9d 100644 --- a/src/quickfix.c +++ b/src/quickfix.c
@@ -2494,7 +2494,7 @@ // store directory on the stack if (vim_isAbsName(dirbuf) || (*stackptr)->next == NULL - || (*stackptr && is_file_stack)) + || is_file_stack) (*stackptr)->dirname = vim_strsave(dirbuf); else {