From 7887ed244553feb87fbae9a1c84b95d970e2f13a Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 5 May 2000 14:20:01 -0400 Subject: snapshot of project "lynx", label v2-8-4dev_1 --- WWW/Library/Implementation/HTAccess.c | 2 +- WWW/Library/Implementation/SGML.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'WWW/Library/Implementation') diff --git a/WWW/Library/Implementation/HTAccess.c b/WWW/Library/Implementation/HTAccess.c index 4642f279..4d44a317 100644 --- a/WWW/Library/Implementation/HTAccess.c +++ b/WWW/Library/Implementation/HTAccess.c @@ -823,7 +823,7 @@ PRIVATE BOOL HTLoadDocument ARGS4( NewDoc.bookmark = anchor->bookmark; NewDoc.isHEAD = anchor->isHEAD; NewDoc.safe = anchor->safe; - anchor = (HTParentAnchor *)HTAnchor_findAddress(&NewDoc); + anchor = HTAnchor_parent(HTAnchor_findAddress(&NewDoc)); } } /* diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index 03c3ac37..e6f0fab7 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -1740,8 +1740,9 @@ top1: */ if ((HTCJK==JAPANESE) && (context->state==S_in_kanji) && !IS_JAPANESE_2BYTE(context->kanji_buf,(unsigned char)c)) { -#ifdef CONV_JISX0201KANA_TO_JISX0208KANA +#ifdef CONV_JISX0201KANA_JISX0208KANA if (IS_SJIS_X0201KANA(context->kanji_buf)) { + unsigned char sjis_hi, sjis_lo; JISx0201TO0208_SJIS(context->kanji_buf, &sjis_hi, &sjis_lo); PUTC(sjis_hi); PUTC(sjis_lo); -- cgit 1.4.1-2-gfad0