diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-06 15:47:47 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2008-09-06 15:47:47 -0400 |
commit | b027e6c551e944c3de2c6a41958afbdfcbb9e942 (patch) | |
tree | 0de5acdb29ed7fb4794713db1cd1ae38b387d3e7 /WWW/Library/Implementation/HTPlain.c | |
parent | 260d8a57df392ef59b6430ccadf4e9e5bcdefe12 (diff) | |
download | lynx-snapshots-b027e6c551e944c3de2c6a41958afbdfcbb9e942.tar.gz |
snapshot of project "lynx", label v2-8-7dev_9i
Diffstat (limited to 'WWW/Library/Implementation/HTPlain.c')
-rw-r--r-- | WWW/Library/Implementation/HTPlain.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTPlain.c b/WWW/Library/Implementation/HTPlain.c index 3e40be02..8dfa901e 100644 --- a/WWW/Library/Implementation/HTPlain.c +++ b/WWW/Library/Implementation/HTPlain.c @@ -1,4 +1,7 @@ -/* Plain text object HTWrite.c +/* + * $LynxId: HTPlain.c,v 1.42 2008/09/06 14:45:09 tom Exp $ + * + * Plain text object HTWrite.c * ================= * * This version of the stream object just writes to a socket. @@ -28,6 +31,7 @@ #include <UCAux.h> #include <LYCharSets.h> +#include <LYStrings.h> #include <LYLeaks.h> static int HTPlain_lastraw = -1; @@ -134,7 +138,7 @@ static void HTPlain_put_character(HTStream *me, char c) * For now, don't repeat everything here that has been done below - KW */ HTPlain_write(me, &c, 1); - } else if (HTCJK != NOCJK) { + } else if (IS_CJK_TTY) { HText_appendCharacter(me->text, c); } else if (TOASCII(UCH(c)) >= 127 && TOASCII(UCH(c)) < 161 && HTPassHighCtrlRaw) { @@ -470,7 +474,7 @@ static void HTPlain_write(HTStream *me, const char *s, int l) * display character set, and if not, the user should toggle off * raw/CJK mode to reload. - FM */ - if (HTCJK != NOCJK) { + if (IS_CJK_TTY) { HText_appendCharacter(me->text, c); #define PASSHICTRL (me->T.transp || \ |