From: Po Lu Date: Fri, 31 May 2024 01:54:49 +0000 (+0800) Subject: ; Fix coding style in w32image.c X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6485d07e86e6b1e7d3b57835a0de0dbeffd67e4b;p=emacs.git ; Fix coding style in w32image.c * src/w32image.c (get_encoder_clsid): Insert space between identifier and param type list. (struct thumb_data_type, struct cached_encoder): Break before opening bracket at top-level. (cherry picked from commit 4077bb9867c4396769fa5837b40c0461de6b92d6) --- diff --git a/src/w32image.c b/src/w32image.c index c81c3f0d3d1..de95af7b370 100644 --- a/src/w32image.c +++ b/src/w32image.c @@ -522,7 +522,8 @@ w32_load_image (struct frame *f, struct image *img, return 1; } -struct cached_encoder { +struct cached_encoder +{ int num; char *type; CLSID clsid; @@ -530,7 +531,8 @@ struct cached_encoder { static struct cached_encoder last_encoder; -struct thumb_type_data { +struct thumb_type_data +{ const char *ext; const wchar_t *mime; }; @@ -550,7 +552,7 @@ static struct thumb_type_data thumb_types [] = static int -get_encoder_clsid(const char *type, CLSID *clsid) +get_encoder_clsid (const char *type, CLSID *clsid) { /* A simple cache based on the assumptions that many thumbnails will be generated using the same TYPE. */