summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-04 16:16:28 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-04 16:16:28 +0300
commitfa42258672f6a15e3decfd5300afeec1539ad656 (patch)
tree0359c919e8767e84c47a8413377458b81469c1d8
parent13001956a2d307e150ab190905df0e704d7a2ac8 (diff)
NewStory: fix for underlining spaces
-rw-r--r--plugins/NewStory/src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/webpage.cpp b/plugins/NewStory/src/webpage.cpp
index 338a31c3e4..955e45d368 100644
--- a/plugins/NewStory/src/webpage.cpp
+++ b/plugins/NewStory/src/webpage.cpp
@@ -227,7 +227,7 @@ uint_ptr NSWebPage::create_font(const font_description &descr, const document *,
fm->descent = tm.tmDescent;
fm->height = tm.tmHeight;
fm->x_height = tm.tmHeight / 2; // this is an estimate; call GetGlyphOutline to get the real value
- fm->draw_spaces = lf.lfItalic || descr.decoration_style;
+ fm->draw_spaces = lf.lfItalic || descr.decoration_line;
}
return (uint_ptr)hFont;