From daa67997058b3387f55c69b5a67eb853b3d8a6e1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 5 Apr 2009 13:23:58 +0200 Subject: Making sure any floating point numbers written use a decimal point --- CONTRIBUTORS | 2 ++ HISTORY | 3 +++ vdr.c | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 7dd1ed7e..38bc7734 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -664,6 +664,8 @@ Oliver Endriss DVB cards for improving the firmware of FF DVB cards to allow getting the current STC value even in trick modes + for pointing out a problem with the decimal point of the F record in the info file of + a recording Reinhard Walter Buchner for adding some satellites to 'sources.conf' diff --git a/HISTORY b/HISTORY index 0df948e1..2fb8ca75 100644 --- a/HISTORY +++ b/HISTORY @@ -6021,3 +6021,6 @@ Video Disk Recorder Revision History - Fixed the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in cDvbPlayer::Action() (thanks to Reinhard Nissl). - cDevice::PlayTs() now plays as many TS packets as possible in one call. +- Making sure any floating point numbers written use a decimal point (thanks to + Oliver Endriss for pointing out a problem with the F record in the info file of + a recording). diff --git a/vdr.c b/vdr.c index 5f2f88e3..36942a51 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 2.6 2009/03/27 15:54:05 kls Exp $ + * $Id: vdr.c 2.7 2009/04/05 13:21:46 kls Exp $ */ #include @@ -534,6 +534,7 @@ int main(int argc, char *argv[]) isyslog("codeset is '%s' - %s", CodeSet, known ? "known" : "unknown"); cCharSetConv::SetSystemCharacterTable(CodeSet); } + setlocale(LC_NUMERIC, "C"); // makes sure any floating point numbers written use a decimal point // Initialize internationalization: -- cgit v1.2.3