mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -427,7 +427,7 @@ int get_indent_str_vtab(const char *ptr, long ts, long *vts, bool list)
|
||||
} else {
|
||||
// In list mode, when tab is not set, count screen char width
|
||||
// for Tab, displays: ^I
|
||||
count += ptr2cells((char *)ptr);
|
||||
count += ptr2cells(ptr);
|
||||
}
|
||||
} else if (*ptr == ' ') {
|
||||
count++; // count a space for one
|
||||
|
Reference in New Issue
Block a user