Apply coding style
Regards https://github.com/profanity-im/profanity/issues/1396
This commit is contained in:
@@ -47,16 +47,18 @@ typedef enum {
|
||||
COLOR_PROFILE_BLUE_BLINDNESS,
|
||||
} color_profile;
|
||||
|
||||
struct color_def {
|
||||
uint16_t h; uint8_t s, l;
|
||||
const char *name;
|
||||
struct color_def
|
||||
{
|
||||
uint16_t h;
|
||||
uint8_t s, l;
|
||||
const char* name;
|
||||
};
|
||||
extern const struct color_def color_names[];
|
||||
|
||||
/* hash string to color pair */
|
||||
int color_pair_cache_hash_str(const char *str, color_profile profile);
|
||||
int color_pair_cache_hash_str(const char* str, color_profile profile);
|
||||
/* parse fg_bg string to color pair */
|
||||
int color_pair_cache_get(const char *pair_name);
|
||||
int color_pair_cache_get(const char* pair_name);
|
||||
/* clear cache */
|
||||
void color_pair_cache_reset(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user