2000-07-13 09:38:57 +00:00
|
|
|
--- src/LYHistory.c.orig Sat Apr 1 09:33:40 2000
|
|
|
|
+++ src/LYHistory.c Thu Jul 13 17:43:32 2000
|
|
|
|
@@ -528,6 +528,20 @@
|
1998-08-10 16:03:26 +00:00
|
|
|
} else {
|
1999-07-04 13:51:09 +00:00
|
|
|
StrAllocCopy(Title, NO_TITLE);
|
1998-08-10 16:03:26 +00:00
|
|
|
}
|
|
|
|
+ if (HTCJK == JAPANESE) {
|
|
|
|
+ char *tmp;
|
|
|
|
+
|
|
|
|
+ if ((tmp = (char *)calloc(strlen(Title)*2, sizeof(char *))) == NULL)
|
|
|
|
+ outofmem(__FILE__, "showhistory");
|
|
|
|
+ *tmp = '\0';
|
|
|
|
+ if (kanji_code == EUC) {
|
|
|
|
+ TO_EUC(Title, tmp);
|
|
|
|
+ } else if (kanji_code == SJIS) {
|
|
|
|
+ TO_SJIS(Title, tmp);
|
|
|
|
+ }
|
|
|
|
+ if (*tmp) StrAllocCopy(Title, tmp);
|
|
|
|
+ FREE(tmp);
|
|
|
|
+ }
|
|
|
|
fprintf(fp0,
|
|
|
|
"%s<em>%d</em>. <tab id=t%d><a href=\"LYNXHIST:%d\">%s</a>\n",
|
|
|
|
(x > 99 ? "" : x < 10 ? " " : " "),
|
2000-07-13 09:38:57 +00:00
|
|
|
@@ -765,6 +779,20 @@
|
1999-07-04 13:51:09 +00:00
|
|
|
StrAllocCopy(Title , NO_TITLE);
|
1998-08-10 16:03:26 +00:00
|
|
|
} else {
|
1999-07-04 13:51:09 +00:00
|
|
|
StrAllocCopy(Title , NO_TITLE);
|
1998-08-10 16:03:26 +00:00
|
|
|
+ }
|
|
|
|
+ if (HTCJK == JAPANESE) {
|
|
|
|
+ char *tmp;
|
|
|
|
+
|
|
|
|
+ if ((tmp = (char *)calloc(strlen(Title)*2, sizeof(char *))) == NULL)
|
1999-07-04 13:51:09 +00:00
|
|
|
+ outofmem(__FILE__, "LYShowVisitedLinks");
|
1998-08-10 16:03:26 +00:00
|
|
|
+ *tmp = '\0';
|
|
|
|
+ if (kanji_code == EUC) {
|
|
|
|
+ TO_EUC(Title, tmp);
|
|
|
|
+ } else if (kanji_code == SJIS) {
|
|
|
|
+ TO_SJIS(Title, tmp);
|
|
|
|
+ }
|
|
|
|
+ if (*tmp) StrAllocCopy(Title, tmp);
|
1999-07-04 13:51:09 +00:00
|
|
|
+ FREE(tmp);
|
1998-08-10 16:03:26 +00:00
|
|
|
}
|
|
|
|
if (vl->address != NULL && *vl->address != '\0') {
|
|
|
|
StrAllocCopy(Address, vl->address);
|