On Wed, 5 Jan 2000, Klaus Weide wrote:
> On Sat, 8 Jan 2000, Vlad Harchev wrote:
>
> > The 'current_codepage' is referenced in the following code fragement in
> > LYCurses.c:
> >
> > #if defined(WIN_EX) && defined(CJK_EX) /* 1999/08/26 (Thu) 17:53:38 */
> > {
> > extern int current_codepage; /* PDCurses lib. */
> >
> > if (current_codepage == 932)
> > LYcols = COLS - 1;
> > }
> > #endif
>
> So he is compiling with CJK_EX. Why? I don't know, but let's assume
> he wants and needs it.
>
> > Just hide this fragment from compiler - eg change 1st line to
> > #if 0 && defined(WIN_EX) && defined(CJK_EX) /* 1999/08/26 (Thu) 17:53:38 */
> > You don't need this fragment.
>
> How do you know that he doesn't need it?
>
> Do you understand what the code is for? (I don't.) If he wants to compile
> the CJK Extension, and that code is part of the CJK Extension, then the
> normal assumption should be that he *does* need that code. If the code
> didn't do anything, presumably it wouldn't be there.
As I remember, -DCJK_EX is in makefile he is using. So treat this as not
intentional (ie he doesn't want CJK extensions, but he doesn't know that he
will get them by default :)
But don't worry: I don't understand what that code does :-)
>
> Klaus
>
Best regards,
-Vlad