; 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.
This commit is contained in:
Po Lu 2024-05-31 09:54:49 +08:00
parent 436b344be3
commit 4077bb9867

View 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. */