w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit b2a2fbfa6266e4874ed9849f13f4226f3bd54917
parent 8509678c9769b84bdfa977760e73eb36fd6f92d5
Author: ukai <ukai>
Date:   Tue, 30 Jul 2002 16:03:00 +0000

Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals?
  from Colin Watson <cjwatson@debian.org>
* w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 6++++++
Mw3mimg/fb/fb.c | 3++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2002-07-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals? + from Colin Watson <cjwatson@debian.org> + * w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR + 2002-07-30 Hiroyuki Ito <hito@crl.go.jp> * [w3m-dev 03282] Re: w3m-img for framebuffer update diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c @@ -78,7 +78,8 @@ fb_open(void) goto ERR_END; } - if (!(fscinfo.visual == FB_VISUAL_TRUECOLOR && + if (!((fscinfo.visual == FB_VISUAL_TRUECOLOR || + fscinfo.visual == FB_VISUAL_DIRECTCOLOR) && (vscinfo.bits_per_pixel == 15 || vscinfo.bits_per_pixel == 16 || vscinfo.bits_per_pixel == 24 || vscinfo.bits_per_pixel == 32))) {