mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Fix the build with GCC 4.x.
Reported by: pointyhat via kris
This commit is contained in:
parent
135998aa63
commit
ced09912aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189414
12
editors/glimmer/files/patch-src_gtkextext_gtkextext.c
Normal file
12
editors/glimmer/files/patch-src_gtkextext_gtkextext.c
Normal file
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user