about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2000-05-05 14:20:01 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2000-05-05 14:20:01 -0400
commit7887ed244553feb87fbae9a1c84b95d970e2f13a (patch)
treebfbb6e4135d55089afd5c231ecb9786b5fed649f /WWW/Library/Implementation
parent4495b73b691d8f3037361f55f08fc37abc9f2b08 (diff)
downloadlynx-snapshots-7887ed244553feb87fbae9a1c84b95d970e2f13a.tar.gz
snapshot of project "lynx", label v2-8-4dev_1
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTAccess.c2
-rw-r--r--WWW/Library/Implementation/SGML.c3
2 files changed, 3 insertions, 2 deletions
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);