mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
document/html: struct text_attrib_style -> struct text_style
This commit is contained in:
parent
46e44f9298
commit
e133941206
@ -30,14 +30,14 @@ enum format_attr {
|
||||
AT_PREFORMATTED = 32,
|
||||
};
|
||||
|
||||
struct text_attrib_style {
|
||||
struct text_style {
|
||||
enum format_attr attr;
|
||||
color_T fg;
|
||||
color_T bg;
|
||||
};
|
||||
|
||||
struct text_attrib {
|
||||
struct text_attrib_style style;
|
||||
struct text_style style;
|
||||
|
||||
int fontsize;
|
||||
unsigned char *link;
|
||||
|
@ -340,7 +340,7 @@ static inline struct screen_char *
|
||||
get_format_screen_char(struct html_context *html_context,
|
||||
enum link_state link_state)
|
||||
{
|
||||
static struct text_attrib_style ta_cache = { -1, 0x0, 0x0 };
|
||||
static struct text_style ta_cache = { -1, 0x0, 0x0 };
|
||||
static struct screen_char schar_cache;
|
||||
|
||||
if (memcmp(&ta_cache, &format.style, sizeof(ta_cache))) {
|
||||
|
Loading…
Reference in New Issue
Block a user