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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user