emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/pgtk 6c43496 074/100: Fix font lock is not applied on continued


From: Yuuki Harano
Subject: feature/pgtk 6c43496 074/100: Fix font lock is not applied on continued lines
Date: Tue, 24 Nov 2020 08:02:41 -0500 (EST)

branch: feature/pgtk
commit 6c4349601c852e16ae34815a36d7032de054e809
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>

    Fix font lock is not applied on continued lines
    
    * src/pgtkterm.c (pgtk_parse_color): Remove alpha bits.
---
 src/pgtkterm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index 5318d66..6b193ba 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]