From 30a00f14c824e5e4005a1cb6ccf2f26def19d80b Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Sun, 14 Nov 2021 20:27:31 +0900 Subject: Fix coding style Especially, insert a space between function name and paren. * src/alloc.c (garbage_collect): * src/font.h: * src/frame.h: * src/fringe.c: * src/gtkutil.c (xg_set_screen): (xg_create_frame_widgets): (xg_create_frame_outer_widgets): (xg_get_file_name): (xg_get_font): (xg_update_scrollbar_pos): * src/image.c (image_create_bitmap_from_file): (xpm_load_image): * src/pgtkfns.c (pgtk_get_monitor_scale_factor): (is_wayland_display): (pgtk_display_info_for_name): (INSTALL_CURSOR): (Fx_create_frame): (Fx_display_mm_height): (Fx_display_mm_width): (Fx_display_pixel_width): (Fx_display_pixel_height): * src/pgtkselect.c (pgtk_selection_usable): (Fpgtk_own_selection_internal): (Fpgtk_get_selection_internal): * src/pgtkterm.c: (x_set_parent_frame): (pgtk_draw_fringe_bitmap): (pgtk_handle_draw): (scroll_event): (pgtk_text_scaling_factor): (pgtk_term_init): * src/pgtkterm.h: * src/window.h: * src/xdisp.c (redisplay_internal): (draw_glyphs_debug): (draw_glyphs): (note_mouse_highlight): --- src/image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/image.c') diff --git a/src/image.c b/src/image.c index d03e16e5c8c..a41a2a16a64 100644 --- a/src/image.c +++ b/src/image.c @@ -585,15 +585,15 @@ image_create_bitmap_from_file (struct frame *f, Lisp_Object file) #ifdef HAVE_PGTK GError *err = NULL; ptrdiff_t id; - void * bitmap = gdk_pixbuf_new_from_file(SSDATA(file), &err); + void * bitmap = gdk_pixbuf_new_from_file (SSDATA (file), &err); if (!bitmap) { - g_error_free(err); + g_error_free (err); return -1; } - id = image_allocate_bitmap_record(f); + id = image_allocate_bitmap_record (f); dpyinfo->bitmaps[id - 1].img = bitmap; dpyinfo->bitmaps[id - 1].refcount = 1; @@ -5034,7 +5034,7 @@ xpm_load_image (struct frame *f, Lisp_Object (*get_color_table) (Lisp_Object, const char *, int); Lisp_Object frame, color_symbols, color_table; int best_key; -#if !defined(HAVE_NS) +#if !defined (HAVE_NS) bool have_mask = false; #endif Emacs_Pix_Container ximg = NULL, mask_img = NULL; -- cgit v1.2.3