From bfc2e47d9e3801bcdc23f814951900d282230548 Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 21 Jun 2019 10:50:22 -0400 Subject: [PATCH] ... --- MagickCore/widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/widget.c b/MagickCore/widget.c index e4a90ee14..d1480063b 100644 --- a/MagickCore/widget.c +++ b/MagickCore/widget.c @@ -1109,7 +1109,7 @@ static void XEditText(Display *display,XWidgetInfo *text_info, { text_info->cursor--; (void) memmove(text_info->cursor,text_info->cursor+1, - MagickPathExtent); + strlen(text_info->cursor+1)+1); text_info->highlight=MagickFalse; break; } -- 2.40.0