Mailing List archive

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

[linux-dvb] Re: Error in vdr output format of scan



Klaus Schmidinger wrote:

Florian Steinel wrote:

But how avoid the use of locale eg. "S99.9E" becomes "S99,9E"?

Take a look at VDR's cSource::ToString() in VDR/sources.c.

Thank, Klaus.

So i should use this:
fprintf (f, "S%u.%u%s:", orbital_pos/10, orbital_pos % 10, west_east_flag_name[we_flag]); // can't simply use "%g" here since the silly 'locale' messes up the decimal point (from vdr/sources.c)

ok, preparing patch.
(is "& ~0x0800" some special mask for vdr or should i use that one too?)

cu
Florian




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index