summaryrefslogtreecommitdiff
path: root/src/w32font.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-10-21 14:36:50 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-21 14:36:50 +0200
commitaa9bbf5446cb689c2e0f42dc38aecb00d8628fa6 (patch)
tree9f34f50402ebe451e9a898ddfe159f9a73b453a6 /src/w32font.c
parent14121345adc1bc1cdf00f246f5d2c221aa89f55e (diff)
downloademacs-aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6.tar.gz
Fix bold/black in w32_to_fc_weight
* src/w32font.c (w32_to_fc_weight): Use symbols.
Diffstat (limited to 'src/w32font.c')
-rw-r--r--src/w32font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.c b/src/w32font.c
index 885daf930b0..4ceb4302cee 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -2000,7 +2000,7 @@ w32_encode_weight (int n)
static Lisp_Object
w32_to_fc_weight (int n)
{
- if (n >= FW_HEAVY) return Qbold;
+ if (n >= FW_HEAVY) return Qblack;
if (n >= FW_EXTRABOLD) return Qextra_bold;
if (n >= FW_BOLD) return Qbold;
if (n >= FW_SEMIBOLD) return intern ("demibold");