From e9928ab7a1807960ce76cc50b73e58799c2e5a07 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 May 2025 13:15:31 +0300 Subject: fixes #5006 completely --- plugins/NewStory/src/webpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/NewStory/src/webpage.cpp b/plugins/NewStory/src/webpage.cpp index d695cbf11d..338a31c3e4 100644 --- a/plugins/NewStory/src/webpage.cpp +++ b/plugins/NewStory/src/webpage.cpp @@ -215,8 +215,8 @@ uint_ptr NSWebPage::create_font(const font_description &descr, const document *, lf.lfOutPrecision = OUT_DEFAULT_PRECIS; lf.lfClipPrecision = CLIP_DEFAULT_PRECIS; lf.lfQuality = DEFAULT_QUALITY; - lf.lfStrikeOut = (descr.decoration_style & text_decoration_line_line_through) ? TRUE : FALSE; - lf.lfUnderline = (descr.decoration_style & text_decoration_line_underline) ? TRUE : FALSE; + lf.lfStrikeOut = (descr.decoration_line & text_decoration_line_line_through) ? TRUE : FALSE; + lf.lfUnderline = (descr.decoration_line & text_decoration_line_underline) ? TRUE : FALSE; HFONT hFont = CreateFontIndirect(&lf); if (fm) { -- cgit v1.2.3