aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:46:13 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:46:13 +0000
commitee18da17df3863c1eb433ee697ff13fefc51ab82 (patch)
tree8f4cc8fc15b21ac7a0d05c6013fb3527500ffc92 /display.c
parentfix indent (diff)
downloadw3m-ee18da17df3863c1eb433ee697ff13fefc51ab82.tar.gz
w3m-ee18da17df3863c1eb433ee697ff13fefc51ab82.zip
fix build errors
* display.c (make_lastline_message): fix error for undef JP_CHARSET * news.c (readNewsgroup: `code' always required From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'display.c')
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/display.c b/display.c
index 97eec10..f37b9e5 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.48 2002/12/18 16:33:19 ukai Exp $ */
+/* $Id: display.c,v 1.49 2002/12/27 16:46:13 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -326,8 +326,8 @@ make_lastline_message(Buffer *buf)
if (s) {
int l = COLS - 3 - s->length;
-#ifdef JP_CHARSET
if (msg->length > l) {
+#ifdef JP_CHARSET
char *p;
int i;
for (p = msg->ptr; *p; p += i) {