mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[format] enum text_style_format -> text_style_format_T
This commit is contained in:
parent
e8df90f7b0
commit
58c07356b9
@ -74,7 +74,7 @@ union css_property_value {
|
||||
color_T color;
|
||||
enum css_display display;
|
||||
struct {
|
||||
enum text_style_format add, rem;
|
||||
text_style_format_T add, rem;
|
||||
} font_attribute;
|
||||
enum format_align text_align;
|
||||
enum css_list_style list_style;
|
||||
|
@ -25,13 +25,15 @@ enum text_style_format {
|
||||
AT_NO_ENTITIES = 64,
|
||||
};
|
||||
|
||||
typedef unsigned short text_style_format_T;
|
||||
|
||||
struct text_style_color {
|
||||
color_T foreground;
|
||||
color_T background;
|
||||
};
|
||||
|
||||
struct text_style {
|
||||
enum text_style_format attr;
|
||||
text_style_format_T attr;
|
||||
struct text_style_color color;
|
||||
};
|
||||
|
||||
|
@ -194,7 +194,7 @@ put_image_label(char *a, char *label,
|
||||
struct html_context *html_context)
|
||||
{
|
||||
color_T saved_foreground;
|
||||
enum text_style_format saved_attr;
|
||||
text_style_format_T saved_attr;
|
||||
|
||||
/* This is not 100% appropriate for <img>, but well, accepting
|
||||
* accesskey and tabindex near <img> is just our little
|
||||
|
@ -1768,7 +1768,7 @@ put_image_label(struct source_renderer *renderer, void *node, unsigned char *lab
|
||||
{
|
||||
struct html_context *html_context = renderer->html_context;
|
||||
color_T saved_foreground;
|
||||
enum text_style_format saved_attr;
|
||||
text_style_format_T saved_attr;
|
||||
|
||||
/* This is not 100% appropriate for <img>, but well, accepting
|
||||
* accesskey and tabindex near <img> is just our little
|
||||
|
Loading…
Reference in New Issue
Block a user