summaryrefslogtreecommitdiff
path: root/gtk/gtktextutil.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-10-03 01:16:48 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-10-03 01:16:48 +0000
commit3a4fea330790e34b05b3024a412aec93c551196c (patch)
treef6f4347d1284b1909e1de4d4cfb7fcae12bdd198 /gtk/gtktextutil.c
parentae2bf7863c5c693e072beb203b4499fe7ebd8723 (diff)
downloadgtk+-3a4fea330790e34b05b3024a412aec93c551196c.tar.gz
Bug 530575 – GtkEntry with invisible chars has a confused cursor in
2008-10-02 Matthias Clasen <mclasen@redhat.com> Bug 530575 – GtkEntry with invisible chars has a confused cursor in overwrite mode * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text in the layout when positioning the cursor, not the actual text content of the entry. This makes a different when using overwrite mode in an invisible entry. Problem noticed by Jonathan Blandford * gtk/gtktextutil.c: Fix a typo in a comment svn path=/trunk/; revision=21580
Diffstat (limited to 'gtk/gtktextutil.c')
-rw-r--r--gtk/gtktextutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index dc05880d41..145ef2b5fe 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -406,7 +406,7 @@ layout_get_char_width (PangoLayout *layout)
* @layout: a #PangoLayout
* @index: index at which cursor is located
* @pos: cursor location
- * @at_line_end: whether cursor i sdrawn at line end, not over some
+ * @at_line_end: whether cursor is drawn at line end, not over some
* character
*
* Returns: whether cursor should actually be drawn as a rectangle.