search: Update replace for elm_code selection code

That should be search and replace completely ported now
This commit is contained in:
Andy Williams 2015-03-28 16:05:36 +00:00
parent 94642cac2d
commit eee6e3c411
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ _elm_code_widget_selection_delete_single(Elm_Code_Widget_Data *pd)
unsigned int old_length, length;
char *content;
if (pd->selection->end_col <= pd->selection->start_col)
if (pd->selection->end_col < pd->selection->start_col)
return;
line = elm_code_file_line_get(pd->code->file, pd->selection->start_line);