diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/gtkutil.c | 1 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f1691252778..44b8e168031 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-09-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (move_it_in_display_line_to): Call RESTORE_IT on ppos_it | ||
| 4 | only under bidi iteration. | ||
| 5 | |||
| 6 | 2011-09-07 Jan Djärv <jan.h.d@swipnet.se> | ||
| 7 | |||
| 8 | * gtkutil.c (xg_make_tool_item): Insert comment about eventbox. | ||
| 9 | |||
| 1 | 2011-09-06 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2011-09-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 11 | ||
| 3 | isnan: Fix porting problem to Solaris 10 with bundled gcc. | 12 | isnan: Fix porting problem to Solaris 10 with bundled gcc. |
diff --git a/src/gtkutil.c b/src/gtkutil.c index c154797735e..04d05d2a630 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -4219,6 +4219,7 @@ xg_make_tool_item (FRAME_PTR f, | |||
| 4219 | GtkToolItem *ti = gtk_tool_item_new (); | 4219 | GtkToolItem *ti = gtk_tool_item_new (); |
| 4220 | GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0); | 4220 | GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0); |
| 4221 | GtkWidget *wb = gtk_button_new (); | 4221 | GtkWidget *wb = gtk_button_new (); |
| 4222 | /* The eventbox is here so we can have tooltips on disabled items. */ | ||
| 4222 | GtkWidget *weventbox = gtk_event_box_new (); | 4223 | GtkWidget *weventbox = gtk_event_box_new (); |
| 4223 | 4224 | ||
| 4224 | if (wimage && !text_image) | 4225 | if (wimage && !text_image) |
diff --git a/src/xdisp.c b/src/xdisp.c index 2d255bd0e39..2aa0dee02b8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -8170,7 +8170,8 @@ move_it_in_display_line_to (struct it *it, | |||
| 8170 | && !saw_smaller_pos | 8170 | && !saw_smaller_pos |
| 8171 | && IT_CHARPOS (*it) > to_charpos)) | 8171 | && IT_CHARPOS (*it) > to_charpos)) |
| 8172 | { | 8172 | { |
| 8173 | if (!at_eob_p && IT_CHARPOS (ppos_it) < ZV) | 8173 | if (it->bidi_p |
| 8174 | && !at_eob_p && IT_CHARPOS (ppos_it) < ZV) | ||
| 8174 | RESTORE_IT (it, &ppos_it, ppos_data); | 8175 | RESTORE_IT (it, &ppos_it, ppos_data); |
| 8175 | result = MOVE_POS_MATCH_OR_ZV; | 8176 | result = MOVE_POS_MATCH_OR_ZV; |
| 8176 | break; | 8177 | break; |