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