]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix coding style in w32image.c
authorPo Lu <luangruo@yahoo.com>
Fri, 31 May 2024 01:54:49 +0000 (09:54 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 1 Jun 2024 17:04:57 +0000 (19:04 +0200)
* 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)

src/w32image.c

index c81c3f0d3d1a08de6171f87bdd3442170231354e..de95af7b37087f6f9a436af9982c08c9c4611b9c 100644 (file)
@@ -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.  */