aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-10-21 14:36:50 +0200
committerLars Ingebrigtsen2021-10-21 14:36:50 +0200
commitaa9bbf5446cb689c2e0f42dc38aecb00d8628fa6 (patch)
tree9f34f50402ebe451e9a898ddfe159f9a73b453a6 /src
parent14121345adc1bc1cdf00f246f5d2c221aa89f55e (diff)
downloademacs-aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6.tar.gz
emacs-aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6.zip
Fix bold/black in w32_to_fc_weight
* src/w32font.c (w32_to_fc_weight): Use symbols.
Diffstat (limited to 'src')
-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)
2000static Lisp_Object 2000static Lisp_Object
2001w32_to_fc_weight (int n) 2001w32_to_fc_weight (int n)
2002{ 2002{
2003 if (n >= FW_HEAVY) return Qbold; 2003 if (n >= FW_HEAVY) return Qblack;
2004 if (n >= FW_EXTRABOLD) return Qextra_bold; 2004 if (n >= FW_EXTRABOLD) return Qextra_bold;
2005 if (n >= FW_BOLD) return Qbold; 2005 if (n >= FW_BOLD) return Qbold;
2006 if (n >= FW_SEMIBOLD) return intern ("demibold"); 2006 if (n >= FW_SEMIBOLD) return intern ("demibold");