w3m

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

commit 5bbe231d69cbeed626aba4a049a58145f6d3589f
parent 44353043b59261a621a7994cd4dd6ece19c108c3
Author: ukai <ukai>
Date:   Fri, 27 Dec 2002 16:46:13 +0000

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:
MChangeLog | 4++++
Mdisplay.c | 2+-
Mnews.c | 2--
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,9 @@ 2002-12-28 Fumitoshi UKAI <ukai@debian.or.jp> + * fix build errors + * display.c (make_lastline_message): fix error for undef JP_CHARSET + * news.c (readNewsgroup: `code' always required + * gcc -Wall -Werror clean * file.c (loadHTMLstream): unused variable `p' * news.c (news_command): unused variable `c' diff --git a/display.c b/display.c @@ -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) { diff --git a/news.c b/news.c @@ -274,9 +274,7 @@ readNewsgroup(ParsedURL *pu) char *volatile qgroup; int status, i, first, last; volatile int flag = 0, start = 0, end = 0; -#ifdef JP_CHARSET char code = '\0'; -#endif MySignalHandler(*volatile trap) (SIGNAL_ARG) = NULL; if (current_news.host == NULL || !pu->file || *pu->file == '\0')