8ddaf6
From e5c51cda449ea3544fddcdb84c6809757477035b Mon Sep 17 00:00:00 2001
8ddaf6
From: Oleksiy Chernyavskyy <ochern@ics.com>
8ddaf6
Date: Tue, 22 Aug 2017 03:27:36 +0300
8ddaf6
Subject: [PATCH] Fixed bug 1660
8ddaf6
8ddaf6
---
8ddaf6
 lib/Xm/TextF.c | 4 ++--
8ddaf6
 1 file changed, 2 insertions(+), 2 deletions(-)
8ddaf6
8ddaf6
diff --git a/lib/Xm/TextF.c b/lib/Xm/TextF.c
8ddaf6
index 3323d2bd..f66076da 100644
8ddaf6
--- a/lib/Xm/TextF.c
8ddaf6
+++ b/lib/Xm/TextF.c
8ddaf6
@@ -1768,8 +1768,8 @@ PaintCursor(XmTextFieldWidget tf)
8ddaf6
         }
8ddaf6
            if (cursor_width > 0 && cursor_height > 0)
8ddaf6
   	  	XCopyArea(XtDisplay(tf), tf->text.ibeam_off, XtWindow(tf), 
8ddaf6
-		      tf->text.save_gc, 0, 0, cursor_width, 
8ddaf6
-		      cursor_height, x, y);
8ddaf6
+          tf->text.save_gc, src_x, 0, cursor_width, 
8ddaf6
+          cursor_height, x, y);
8ddaf6
   	}
8ddaf6
   }
8ddaf6
 }
8ddaf6
-- 
8ddaf6
2.13.5
8ddaf6