summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-02 13:15:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-02 13:15:31 +0300
commite9928ab7a1807960ce76cc50b73e58799c2e5a07 (patch)
tree036e1ea3e06b5d3c21a02a0e0fb3bb261a37f386
parent21e46e6bc391e90b6c23fcebb2809b63a2d526c2 (diff)
fixes #5006 completely
-rw-r--r--plugins/NewStory/src/webpage.cpp4
1 files changed, 2 insertions, 2 deletions
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) {