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