w3m

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

commit 53a72e3de10aa017c095f5dc15f484fee8b50489
parent ab52a16e39a4b4a34228334af0920908f98f56d8
Author: ukai <ukai>
Date:   Thu, 23 Jan 2003 18:42:51 +0000

fix compiler warnings
* display.c (displayBuffer): fix suggest parentheses around && within ||
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 4++++
Mdisplay.c | 4++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2003-01-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix compiler warnings + * display.c (displayBuffer): fix suggest parentheses around && within || 2003-01-24 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> * [w3m-dev 03667] fold patch diff --git a/display.c b/display.c @@ -363,8 +363,8 @@ displayBuffer(Buffer *buf, int mode) buf->width = COLS; if (buf->height == 0) buf->height = LASTLINE + 1; - if ((buf->width != INIT_BUFFER_WIDTH && (buf->type && - !strcmp(buf->type, "text/html") + if ((buf->width != INIT_BUFFER_WIDTH && ((buf->type && + !strcmp(buf->type, "text/html")) || FoldLine)) || buf->need_reshape) { buf->need_reshape = TRUE;