]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo; use C locale for VsnprintfTestCase
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 23 Mar 2009 12:17:39 +0000 (12:17 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 23 Mar 2009 12:17:39 +0000 (12:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/vsnprintf.cpp

index 835317830387c24faa9c22be07e2656520ad940e..bc51eb14d16f4f299cb77d57c694ee7bd03d5f51 100644 (file)
@@ -117,7 +117,7 @@ class VsnprintfTestCase : public CppUnit::TestCase
 {
 public:
     VsnprintfTestCase();
-
+    
 private:
     CPPUNIT_TEST_SUITE( VsnprintfTestCase );
         CPPUNIT_TEST( C );
@@ -188,7 +188,7 @@ VsnprintfTestCase::VsnprintfTestCase()
 {
     // this call is required to avoid check failures when running on machines
     // with a locale where the decimal point is not '.'
-    wxSetlocale(LC_NUMERIC, "English");
+    wxSetlocale(LC_NUMERIC, "C");
 }
 
 void VsnprintfTestCase::C()