From 683e546c2d75b70590455f4be0b7592664d6a024 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 5 Oct 2003 18:52:50 +0000 Subject: fix build error --disbable-m17n * config.h.in: undef USE_M17N, USE_UNICODE * etc.c (url_unquote_conv): USE_M17N * file.c (convertLine): USE_M17N (loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N (loadBuffer): fix USE_M17N (getNextPage): fix USE_M17N * fm.h (USE_M17N): don't define USE_M17N in case LANG == JA (this should be done by configure) (wc_ces): dummy typedef (wc_Str_conv): fix non-m17n macro args (wc_Str_conv_strict): ditto * ftp.c (loadFTPDir): fix undefined USE_M17N * mimehead.c (decodeWord): ditto (decodeMIME): ditto * news.c (loadNewsgroup): ditto * proto.h (convertLine): ditto (loadGopherDir): ditto (loadFTPDir): ditto (loadNewsgroup): ditto (decodeWord): ditto (decodeMIME): ditto (url_unquote_conv): ditto * terms.c (SETCH): ditto From: Fumitoshi UKAI --- terms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'terms.c') diff --git a/terms.c b/terms.c index 3a4225f..f8aa8be 100644 --- a/terms.c +++ b/terms.c @@ -1,4 +1,4 @@ -/* $Id: terms.c,v 1.49 2003/09/22 21:02:22 ukai Exp $ */ +/* $Id: terms.c,v 1.50 2003/10/05 18:52:51 ukai Exp $ */ /* * An original curses library for EUC-kanji by Akinori ITO, December 1989 * revised by Akinori ITO, January 1995 @@ -305,7 +305,7 @@ typedef struct sgttyb TerminalMode; #define SETCH(var,ch,len) ((var) = New_Reuse(char, (var), (len) + 1), \ strncpy((var), (ch), (len)), (var)[len] = '\0') #else -#define SETCH(var,ch) ((var) = (ch)) +#define SETCH(var,ch,len) ((var) = (ch)) #endif /* Charactor Color */ -- cgit v1.2.3