lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev CYGWIN patch for dev.14


From: Leonid Pauzner
Subject: Re: lynx-dev CYGWIN patch for dev.14
Date: Mon, 15 Nov 1999 16:02:53 +0300 (MSK)

15-Nov-99 00:24 Doug Kaufman wrote:
> I had a chance to play with dev.14 and CYGWIN. This was the first
> time I tried to compile using the WIN_EX define. The following patch

That became more and more complicated after TD made his first step
into the wrong direction: all this passage in mainloop()
should be ifdef'ed with CJK_EX, and without WIN_EX for sure.


> --- lynx2-8-3/src/LYMainLoop.c        Sun Nov 14 16:40:50 1999
> +++ lynx2-8-3/src/LYMainLoop.c.new    Sun Nov 14 16:42:44 1999
> @@ -6172,7 +6172,9 @@
>                   default:
>                       break;
>                   }
> +#ifdef CJK_EX
>                   set_ws_title(p);
> +#endif
>           } else {
>               if (user_mode == ADVANCED_MODE) {
>                   p = curdoc.title;
> @@ -6185,18 +6187,24 @@
>                   if (strchr(temp_buff, '%')) {
>                       HTUnEscape(temp_buff);
>                   }
> +#ifdef CJK_EX
>                   str_sjis(sjis_buff, temp_buff);
>                   set_ws_title(string_short(sjis_buff, 10));
> +#endif
>               }
>           }
>       } else {
>           if (strlen(curdoc.address) < 1000) {
>               if (user_mode == ADVANCED_MODE) {
> +#ifdef CJK_EX
>                   str_sjis(temp_buff, curdoc.title);
> +#endif
>               } else {
>                   strcpy(temp_buff, curdoc.address);
>               }
> +#ifdef CJK_EX
>               set_ws_title(HTUnEscape(temp_buff));
> +#endif
>           }
>       }
>  #endif /* WIN_EX */
   ^^^^^^^^^^^^^^^^^^



reply via email to

[Prev in Thread] Current Thread [Next in Thread]