aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorDaniel Colascione2012-09-17 04:07:36 -0800
committerDaniel Colascione2012-09-17 04:07:36 -0800
commit2ab329f3b5d52a39f0a45c3d9c129f1c19560142 (patch)
tree6dd6784d63e54cb18071df8e28fbdbc27d418728 /src/w32term.c
parentf701ab72dd55460d23c8b029550aa4d7ecef3cfa (diff)
parentbb7dce392f6d9d5fc4b9d7de09ff920a52f07669 (diff)
downloademacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.tar.gz
emacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.zip
Merge from trunk
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 0dffcd0bf0a..af075955e2c 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -20,7 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20#include <config.h> 20#include <config.h>
21#include <signal.h> 21#include <signal.h>
22#include <stdio.h> 22#include <stdio.h>
23#include <setjmp.h>
24#include "lisp.h" 23#include "lisp.h"
25#include "blockinput.h" 24#include "blockinput.h"
26#include "w32term.h" 25#include "w32term.h"
@@ -2440,7 +2439,7 @@ x_draw_glyph_string (struct glyph_string *s)
2440 break; 2439 break;
2441 2440
2442 default: 2441 default:
2443 abort (); 2442 emacs_abort ();
2444 } 2443 }
2445 2444
2446 if (!s->for_overlaps) 2445 if (!s->for_overlaps)
@@ -2605,6 +2604,7 @@ x_draw_glyph_string (struct glyph_string *s)
2605 w32_set_clip_rectangle (next->hdc, NULL); 2604 w32_set_clip_rectangle (next->hdc, NULL);
2606 next->hl = save; 2605 next->hl = save;
2607 next->num_clips = 0; 2606 next->num_clips = 0;
2607 next->clip_head = s->next;
2608 } 2608 }
2609 } 2609 }
2610 } 2610 }
@@ -2640,7 +2640,7 @@ x_delete_glyphs (struct frame *f, register int n)
2640 if (! FRAME_W32_P (f)) 2640 if (! FRAME_W32_P (f))
2641 return; 2641 return;
2642 2642
2643 abort (); 2643 emacs_abort ();
2644} 2644}
2645 2645
2646 2646
@@ -2723,7 +2723,7 @@ x_ins_del_lines (struct frame *f, int vpos, int n)
2723 if (! FRAME_W32_P (f)) 2723 if (! FRAME_W32_P (f))
2724 return; 2724 return;
2725 2725
2726 abort (); 2726 emacs_abort ();
2727} 2727}
2728 2728
2729 2729
@@ -3445,7 +3445,7 @@ x_window_to_scroll_bar (Window window_id)
3445 frame = XCAR (tail); 3445 frame = XCAR (tail);
3446 /* All elements of Vframe_list should be frames. */ 3446 /* All elements of Vframe_list should be frames. */
3447 if (! FRAMEP (frame)) 3447 if (! FRAMEP (frame))
3448 abort (); 3448 emacs_abort ();
3449 3449
3450 /* Scan this frame's scroll bar list for a scroll bar with the 3450 /* Scan this frame's scroll bar list for a scroll bar with the
3451 right window ID. */ 3451 right window ID. */
@@ -3868,7 +3868,7 @@ w32_redeem_scroll_bar (struct window *window)
3868 3868
3869 /* We can't redeem this window's scroll bar if it doesn't have one. */ 3869 /* We can't redeem this window's scroll bar if it doesn't have one. */
3870 if (NILP (window->vertical_scroll_bar)) 3870 if (NILP (window->vertical_scroll_bar))
3871 abort (); 3871 emacs_abort ();
3872 3872
3873 bar = XSCROLL_BAR (window->vertical_scroll_bar); 3873 bar = XSCROLL_BAR (window->vertical_scroll_bar);
3874 3874
@@ -3887,7 +3887,7 @@ w32_redeem_scroll_bar (struct window *window)
3887 else 3887 else
3888 /* If its prev pointer is nil, it must be at the front of 3888 /* If its prev pointer is nil, it must be at the front of
3889 one or the other! */ 3889 one or the other! */
3890 abort (); 3890 emacs_abort ();
3891 } 3891 }
3892 else 3892 else
3893 XSCROLL_BAR (bar->prev)->next = bar->next; 3893 XSCROLL_BAR (bar->prev)->next = bar->next;
@@ -3942,7 +3942,7 @@ w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg,
3942 struct input_event *emacs_event) 3942 struct input_event *emacs_event)
3943{ 3943{
3944 if (! WINDOWP (bar->window)) 3944 if (! WINDOWP (bar->window))
3945 abort (); 3945 emacs_abort ();
3946 3946
3947 emacs_event->kind = SCROLL_BAR_CLICK_EVENT; 3947 emacs_event->kind = SCROLL_BAR_CLICK_EVENT;
3948 emacs_event->code = 0; 3948 emacs_event->code = 0;
@@ -4177,6 +4177,7 @@ w32_read_socket (struct terminal *terminal, int expected,
4177 if (interrupt_input_blocked) 4177 if (interrupt_input_blocked)
4178 { 4178 {
4179 interrupt_input_pending = 1; 4179 interrupt_input_pending = 1;
4180 pending_signals = 1;
4180 return -1; 4181 return -1;
4181 } 4182 }
4182 4183
@@ -5255,7 +5256,7 @@ w32_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
5255 break; 5256 break;
5256 5257
5257 default: 5258 default:
5258 abort (); 5259 emacs_abort ();
5259 } 5260 }
5260 } 5261 }
5261} 5262}