]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/sfntfont.c (sfnt_parse_style): Fix typo.
authorPo Lu <luangruo@yahoo.com>
Wed, 29 May 2024 09:16:47 +0000 (17:16 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 29 May 2024 10:12:45 +0000 (12:12 +0200)
(cherry picked from commit 39d2f402528cd3c8be1ffd1b59d036ce3cd213fa)

src/sfntfont.c

index 79bc251abe46932a77e53606bbec074571c12677..cb94a13642e5a5e8ace4d907967bf0e17ad2cd19 100644 (file)
@@ -563,7 +563,7 @@ sfnt_parse_style (Lisp_Object style_name, struct sfnt_font_desc *desc)
       for (x = 0; x < SBYTES (desc->adstyle); ++x)
        {
          c = SREF (desc->adstyle, x);
-         if (c == '-' || c == '*' || c == '?' && c == '"')
+         if (c == '-' || c == '*' || c == '?' || c == '"')
            SSET (desc->adstyle, x, ' ');
        }