diff options
| author | Lars Ingebrigtsen | 2021-10-21 14:36:50 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-10-21 14:36:50 +0200 |
| commit | aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6 (patch) | |
| tree | 9f34f50402ebe451e9a898ddfe159f9a73b453a6 /src | |
| parent | 14121345adc1bc1cdf00f246f5d2c221aa89f55e (diff) | |
| download | emacs-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.c | 2 |
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) | |||
| 2000 | static Lisp_Object | 2000 | static Lisp_Object |
| 2001 | w32_to_fc_weight (int n) | 2001 | w32_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"); |