fix compiler warnings

* display.c (displayBuffer): fix suggest parentheses around && within ||
From: Fumitoshi UKAI  <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-23 18:42:51 +00:00
parent c50771b0a1
commit 3b74155de0
2 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: display.c,v 1.54 2003/01/23 18:38:05 ukai Exp $ */
/* $Id: display.c,v 1.55 2003/01/23 18:42:52 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -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;