diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-14 09:12:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-14 09:12:58 +0100 |
commit | cd676fda36688c2a125965501732e92afad3fa50 (patch) | |
tree | cdd8516315a0f2d47aea39fbc32c35fda515c03b /vdr.c | |
parent | d62f7104138a48f77efd385cc2a8435515addd33 (diff) | |
download | vdr-cd676fda36688c2a125965501732e92afad3fa50.tar.gz vdr-cd676fda36688c2a125965501732e92afad3fa50.tar.bz2 |
Moved setting LC_NUMERIC further up to make sure any floating point numbers use a decimal point
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.34 2012/03/09 09:55:15 kls Exp $ + * $Id: vdr.c 2.35 2012/03/14 09:09:19 kls Exp $ */ #include <getopt.h> @@ -173,6 +173,7 @@ int main(int argc, char *argv[]) // Initiate locale: setlocale(LC_ALL, ""); + setlocale(LC_NUMERIC, "C"); // makes sure any floating point numbers written use a decimal point // Command line options: @@ -550,7 +551,6 @@ 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: |