From e1339412068f97be1aa5f91871ba7ebeedbdb5ff Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 28 Aug 2007 20:14:47 +0200 Subject: [PATCH] document/html: struct text_attrib_style -> struct text_style --- src/document/html/parser.h | 4 ++-- src/document/html/renderer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/document/html/parser.h b/src/document/html/parser.h index c10cb8a8..4c766b18 100644 --- a/src/document/html/parser.h +++ b/src/document/html/parser.h @@ -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; diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index 4560726a..4a7a6c1e 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -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))) {