stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r495453 - /incubator/stdcxx/trunk/examples/manual/numpunct.cpp
Date Fri, 12 Jan 2007 00:56:16 GMT
Author: sebor
Date: Thu Jan 11 16:56:15 2007
New Revision: 495453

URL: http://svn.apache.org/viewvc?view=rev&rev=495453
Log:
2007-01-11  Martin Sebor  <sebor@roguewave.com>

	* numpunct.cpp (make_german_locale): Corrected a logic error
	introduced in revision 431272.

Modified:
    incubator/stdcxx/trunk/examples/manual/numpunct.cpp

Modified: incubator/stdcxx/trunk/examples/manual/numpunct.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/manual/numpunct.cpp?view=diff&rev=495453&r1=495452&r2=495453
==============================================================================
--- incubator/stdcxx/trunk/examples/manual/numpunct.cpp (original)
+++ incubator/stdcxx/trunk/examples/manual/numpunct.cpp Thu Jan 11 16:56:15 2007
@@ -62,7 +62,7 @@
         }
         catch (std::runtime_error&) {
             // continue trying until the next name is null
-            if (*++names)
+            if (0 == *++names)
                 throw;
         }
         catch (...) {



Mime
View raw message