bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Charset #define


From: Øystein O Johansen
Subject: [Bug-gnubg] Charset #define
Date: Thu, 17 Oct 2002 09:25:24 +0200

Good morning, Jørn!

from backgammon.h:

#if GTK_CHECK_VERSION(1,3,0)
#define GNUBG_CHARSET "UTF-8"
#else
#define GNUBG_CHARSET "ISO-8859-1"
#endif

First of all there should be a #ifdef USE_GTK around these lines. The
GTK_CHECK_VERSION macro won't be found if gtk.h is not included. Second,
the windows versions of gtk uses UTF-8, even version 1.3. It sould
therefore say: #if GTK_CHECK_VERSION(1,3,0) || defined(WIN32). Third, I
guess we need a charset even if gtk is not used?

-Øystein


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.






reply via email to

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