summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-05 13:23:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-05 13:23:58 +0200
commitdaa67997058b3387f55c69b5a67eb853b3d8a6e1 (patch)
tree710db034e561e6598e238377e463eb4498c8354c /vdr.c
parent5a42f6b29fa46307c4b98e6f1fe1e4d1bf367fdc (diff)
downloadvdr-daa67997058b3387f55c69b5a67eb853b3d8a6e1.tar.gz
vdr-daa67997058b3387f55c69b5a67eb853b3d8a6e1.tar.bz2
Making sure any floating point numbers written use a decimal point
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c3
1 files changed, 2 insertions, 1 deletions
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 <getopt.h>
@@ -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: