diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
commit | 6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch) | |
tree | 1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/terminal.c | |
parent | 921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff) |
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/terminal.c b/src/terminal.c index a33a3a345b..703966a877 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -4442,15 +4442,15 @@ sync_shell_dir(VTermStringFragment *frag) // remove HOSTNAME to get PWD while (*pos != '/' && offset < (int)frag->len) { - offset += 1; - pos += 1; + offset += 1; + pos += 1; } if (offset >= (int)frag->len) { - semsg(_(e_failed_to_extract_pwd_from_str_check_your_shell_config), + semsg(_(e_failed_to_extract_pwd_from_str_check_your_shell_config), frag->str); - return; + return; } new_dir = alloc(frag->len - offset + 1); |