bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Win32: METs don't display correctly - bug


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Win32: METs don't display correctly - bug
Date: Fri, 6 Dec 2002 20:38:24 +0000
User-agent: Mutt/1.4i

On Fri, Dec 06, 2002 at 08:50:58PM +0100, Nardy Pillards wrote
> Still a bug though.
> 
> That is:
> I changed all '.' (decimal point) to ',' in all .xml files.
> The Equity tables show correctly now.
> 
> My system used the 'real' decimal point as decimal point.
> But I had to change it to the *european* decimal point (i.e. ' , ' )
> 
> There is no problem with the predesigned boards (also using decimal points.
> the 'original' in those files don't cause problems)
> 
> _Remark_:
> If this is too hard to debug (low priority), I will post the *European* .xml
> files on my website.

I guess you mean mainland European. As far as I know the Britts still
use dot as decimal separator :-)

Anyway, I can't reproduce this bug under linux; I can read match equity
tables with Danish, French, German, and British locale settings.

I assume your matchequity.c is 1.33. I really can't see what should have
changed since November 20 that would change things! Did you download a
new version of any of your libraries?

Anyway, you can try inserting the following
piece of code in parseRow in matchequity.c line 1058:

    if ( ! strcmp ( cur->name, "me" ) ) {
       printf ( "locale in parseRow: '%s'\n", 
                setlocale ( LC_NUMERIC, NULL );

The locale should show up as 'C'.

Jørn




reply via email to

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