Skip to content

Commit

Permalink
Merge branch '4540_mcedit_macro_deletes_text'
Browse files Browse the repository at this point in the history
* 4540_mcedit_macro_deletes_text:
  Ticket #4540: mcedit: macro deletes text.
  • Loading branch information
aborodin committed May 25, 2024
2 parents 425938e + fdacad8 commit 57cf824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editor/edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1821,14 +1821,14 @@ edit_user_menu (WEdit * edit, const char *menu_file, int selected_entry)
if (user_menu_cmd (CONST_WIDGET (edit), menu_file, selected_entry)
&& (mc_stat (block_file_vpath, &status) == 0) && (status.st_size != 0))
{
gboolean rc = FALSE;
gboolean rc = TRUE;
FILE *fd;

/* i.e. we have marked block */
if (mark)
rc = edit_block_delete_cmd (edit);

if (!rc)
if (rc)
{
off_t ins_len;

Expand Down

0 comments on commit 57cf824

Please sign in to comment.