~ubuntu-branches/ubuntu/precise/stellarium/precise

« back to all changes in this revision

Viewing changes to debian/patches/locale_numeric.patch

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2009-03-13 20:07:22 UTC
  • mfrom: (1.1.8 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090313200722-l66s4zy2s3e8up0s
Tags: 0.10.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- stellarium-0.10.0.orig/src/stelutils/Translator.cpp
2
 
+++ stellarium-0.10.0/src/stelutils/Translator.cpp
3
 
@@ -140,6 +140,7 @@
4
 
 #else
5
 
        setlocale(LC_CTYPE,"");
6
 
 #endif
7
 
+       setlocale(LC_NUMERIC, "C");
8
 
        QString result = bind_textdomain_codeset(domain.toUtf8().constData(), "UTF-8");
9
 
        Q_ASSERT(result=="UTF-8");
10
 
        bindtextdomain (domain.toUtf8().constData(), QFile::encodeName(moDirectory).constData());