mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:12:08 +08:00
Fix copy paste error
This commit is contained in:
parent
788692f1e5
commit
db377385f6
|
@ -266,10 +266,6 @@ int parse_util_locate_cmdsubst_range(const wcstring &str, size_t *inout_cursor_o
|
|||
*out_end = bracket_range_end - buff;
|
||||
if (out_is_quoted) *out_is_quoted = cmdsub_is_quoted;
|
||||
|
||||
// Update the inout_cursor_offset. Note this may cause it to exceed str.size(), though
|
||||
// overflow is not likely.
|
||||
*inout_cursor_offset = 1 + *out_end;
|
||||
|
||||
// Update the inout_cursor_offset. Note this may cause it to exceed str.size(), though
|
||||
// overflow is not likely.
|
||||
*inout_cursor_offset = 1 + *out_end;
|
||||
|
|
Loading…
Reference in New Issue
Block a user