0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4928: various white space and cosmetic mistakes

Problem:    Various white space and cosmetic mistakes.
Solution:   Change spaces to tabs, improve comments.
This commit is contained in:
Bram Moolenaar
2022-05-09 20:09:23 +01:00
parent 921bde8880
commit 6ed545e797
49 changed files with 164 additions and 159 deletions

View File

@@ -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);