diff options
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32term.c b/src/w32term.c index 4f4fa220a7b..f879e648054 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -742,7 +742,7 @@ x_after_update_window_line (struct glyph_row *desired_row) struct frame *f; int width, height; - xassert (w); + eassert (w); if (!desired_row->mode_line_p && !w->pseudo_window_p) desired_row->redraw_fringe_bitmaps_p = 1; @@ -1086,7 +1086,7 @@ x_set_mouse_face_gc (struct glyph_string *s) s->gc = FRAME_W32_DISPLAY_INFO (s->f)->scratch_cursor_gc; } - xassert (s->gc != 0); + eassert (s->gc != 0); } @@ -1143,7 +1143,7 @@ x_set_glyph_string_gc (struct glyph_string *s) } /* GC must have been set. */ - xassert (s->gc != 0); + eassert (s->gc != 0); } @@ -1560,7 +1560,7 @@ w32_alloc_lighter_color (struct frame *f, COLORREF *color, delta /= 256; /* Change RGB values by specified FACTOR. Avoid overflow! */ - xassert (factor >= 0); + eassert (factor >= 0); new = PALETTERGB (min (0xff, factor * GetRValue (*color)), min (0xff, factor * GetGValue (*color)), min (0xff, factor * GetBValue (*color))); @@ -2237,7 +2237,7 @@ x_draw_image_glyph_string (struct glyph_string *s) static void x_draw_stretch_glyph_string (struct glyph_string *s) { - xassert (s->first_glyph->type == STRETCH_GLYPH); + eassert (s->first_glyph->type == STRETCH_GLYPH); if (s->hl == DRAW_CURSOR && !x_stretch_cursor_p) @@ -6032,9 +6032,9 @@ x_wm_set_icon_position (struct frame *f, int icon_x, int icon_y) static void x_check_font (struct frame *f, struct font *font) { - xassert (font != NULL && ! NILP (font->props[FONT_TYPE_INDEX])); + eassert (font != NULL && ! NILP (font->props[FONT_TYPE_INDEX])); if (font->driver->check) - xassert (font->driver->check (f, font) == 0); + eassert (font->driver->check (f, font) == 0); } #endif /* GLYPH_DEBUG != 0 */ |