mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 15:04:05 +00:00
Fix copy paste error
This commit is contained in:
parent
788692f1e5
commit
db377385f6
1 changed files with 0 additions and 4 deletions
|
@ -266,10 +266,6 @@ int parse_util_locate_cmdsubst_range(const wcstring &str, size_t *inout_cursor_o
|
||||||
*out_end = bracket_range_end - buff;
|
*out_end = bracket_range_end - buff;
|
||||||
if (out_is_quoted) *out_is_quoted = cmdsub_is_quoted;
|
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
|
// Update the inout_cursor_offset. Note this may cause it to exceed str.size(), though
|
||||||
// overflow is not likely.
|
// overflow is not likely.
|
||||||
*inout_cursor_offset = 1 + *out_end;
|
*inout_cursor_offset = 1 + *out_end;
|
||||||
|
|
Loading…
Reference in a new issue