]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix font lock is not applied on continued lines
authorYuuki Harano <masm+github@masm11.me>
Mon, 13 Jul 2020 14:38:07 +0000 (23:38 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
* src/pgtkterm.c (pgtk_parse_color): Remove alpha bits.

src/pgtkterm.c

index 5318d66917a1217aebbdf8524b116bcb7a51a88b..6b193bae3eb2b81360fa0445cef96a28ed1d6d82 100644 (file)
@@ -6721,9 +6721,9 @@ pgtk_parse_color (struct frame *f, const char *color_name,
       color->green = rgba.green * 65535;
       color->blue = rgba.blue * 65535;
       color->pixel =
-       (unsigned long) 0xff << 24 |
        (color->red >> 8) << 16 |
-       (color->green >> 8) << 8 | (color->blue >> 8) << 0;
+       (color->green >> 8) << 8 |
+       (color->blue >> 8) << 0;
       return 1;
     }
   return 0;