aboutsummaryrefslogtreecommitdiffstats
path: root/editors/glimmer
diff options
context:
space:
mode:
Diffstat (limited to 'editors/glimmer')
-rw-r--r--editors/glimmer/files/patch-src_gtkextext_gtkextext.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/glimmer/files/patch-src_gtkextext_gtkextext.c b/editors/glimmer/files/patch-src_gtkextext_gtkextext.c
new file mode 100644
index 000000000000..4518af2b8394
--- /dev/null
+++ b/editors/glimmer/files/patch-src_gtkextext_gtkextext.c
@@ -0,0 +1,12 @@
+--- src/gtkextext/gtkextext.c.orig Sat Apr 7 01:47:56 2007
++++ src/gtkextext/gtkextext.c Sat Apr 7 01:52:20 2007
+@@ -1140,7 +1140,8 @@ line_set_cursor_pos (GtkExText * text, g
+ val = (gfloat) width;
+ gtk_adjustment_set_value (text->hadj, val);
+ } else if (text->draw_numbers && width < (val + text->gutter_width)) {
+- val = (gfloat) width -= text->gutter_width;
++ width -= text->gutter_width;
++ val = (gfloat) width;
+ gtk_adjustment_set_value (text->hadj, val);
+ }
+