From 6c4349601c852e16ae34815a36d7032de054e809 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Mon, 13 Jul 2020 23:38:07 +0900 Subject: [PATCH] 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 5318d66917a..6b193bae3eb 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; -- 2.39.5