summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/draw.c b/draw.c
index 9e20601..9724a1f 100644
--- a/draw.c
+++ b/draw.c
@@ -303,6 +303,7 @@ void visual_box(FILE *fc){
f = get_key(fc, "fill char: "); /** FALLTHROUGH **/
case 'x':/* erase */
erase_box(orig_x, orig_y, f);
+ erase_blank_lines(MIN(y,orig_y), MAX(y, orig_y));
modified = 1;
goto vis_exit;
break;