aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-07-30 09:56:18 +0400
committerDmitry Antipov2013-07-30 09:56:18 +0400
commitd7e6881a2ec341affe3a89b26cf2da6919772214 (patch)
treed11a0e72bf7e9efde22a622ee76e2666d7e92a9b /src/xfns.c
parentec3058af9654df71cce93629f3eab32dcbb6b946 (diff)
downloademacs-d7e6881a2ec341affe3a89b26cf2da6919772214.tar.gz
emacs-d7e6881a2ec341affe3a89b26cf2da6919772214.zip
* fringe.c (draw_window_fringes, update_window_fringes)
(compute_fringe_widths): * w32term.c (x_draw_glyph_string): * window.c (candidate_window_p, Frecenter): * xfaces.c (realize_basic_faces, realize_default_face) (Fbitmap_space_p, Finternal_set_lisp_face_attribute) (x_update_menu_appearance, face_attr_equal_p, lface_equal_p): * xfns.c (x_set_cursor_color, xic_free_xfontset): * xmenu.c (Fx_menu_bar_open_internal): * xselect.c (x_reply_selection_request, Fx_get_atom_name): * xsettings.c (xft_settings_event): * xterm.c (x_draw_glyph_string, x_had_errors_p): Use bool for booleans. Adjust style and comments where appropriate. * dispextern.h (draw_window_fringes, update_window_fringes) (compute_fringe_widths): * xterm.h (x_had_errors_p): Adjust prototype.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index a3eff1a5cce..a4492a10fdb 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -942,7 +942,7 @@ static void
942x_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 942x_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
943{ 943{
944 unsigned long fore_pixel, pixel; 944 unsigned long fore_pixel, pixel;
945 int fore_pixel_allocated_p = 0, pixel_allocated_p = 0; 945 bool fore_pixel_allocated_p = 0, pixel_allocated_p = 0;
946 struct x_output *x = f->output_data.x; 946 struct x_output *x = f->output_data.x;
947 947
948 if (!NILP (Vx_cursor_fore_pixel)) 948 if (!NILP (Vx_cursor_fore_pixel))
@@ -2066,7 +2066,7 @@ void
2066xic_free_xfontset (struct frame *f) 2066xic_free_xfontset (struct frame *f)
2067{ 2067{
2068 Lisp_Object rest, frame; 2068 Lisp_Object rest, frame;
2069 int shared_p = 0; 2069 bool shared_p = 0;
2070 2070
2071 if (!FRAME_XIC_FONTSET (f)) 2071 if (!FRAME_XIC_FONTSET (f))
2072 return; 2072 return;