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 [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.



Reply via email to