diff options
author | pommicket <pommicket@gmail.com> | 2022-12-29 13:38:46 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-29 13:38:46 -0500 |
commit | 6e6b407550db47d3f9c85875c0f69444cf640796 (patch) | |
tree | 433d70ad1857744cad830b141c9cabd1e7ddf7d6 /ui.c | |
parent | f1e2e8382cc09bacb5da9e3c9463fea983a9e146 (diff) |
hover highlight
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -365,7 +365,7 @@ static char *file_selector_update(Ted *ted, FileSelector *fs) { *p = PATH_SEPARATOR; if (file_selector_cd(ted, fs, dir_name)) { - buffer_delete_chars_at_pos(line_buffer, buffer_start_of_file(line_buffer), last_path_sep + 1); // delete up to and including the last path separator + buffer_delete_chars_at_pos(line_buffer, buffer_pos_start_of_file(line_buffer), last_path_sep + 1); // delete up to and including the last path separator buffer_clear_undo_redo(line_buffer); } else { // delete up to first path separator in line buffer |