diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-27 16:46:13 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-27 16:46:13 +0000 |
commit | ee18da17df3863c1eb433ee697ff13fefc51ab82 (patch) | |
tree | 8f4cc8fc15b21ac7a0d05c6013fb3527500ffc92 | |
parent | fix indent (diff) | |
download | w3m-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>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | display.c | 4 | ||||
-rw-r--r-- | news.c | 4 |
3 files changed, 8 insertions, 6 deletions
@@ -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' @@ -6153,4 +6157,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.654 2002/12/27 16:30:53 ukai Exp $ +$Id: ChangeLog,v 1.655 2002/12/27 16:46:13 ukai Exp $ @@ -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) { @@ -1,4 +1,4 @@ -/* $Id: news.c,v 1.4 2002/12/27 16:31:49 ukai Exp $ */ +/* $Id: news.c,v 1.5 2002/12/27 16:46:13 ukai Exp $ */ #include "fm.h" #include "myctype.h" #include <stdio.h> @@ -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') |