stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r522632 - /incubator/stdcxx/trunk/util/locale.cpp
Date Mon, 26 Mar 2007 21:30:44 GMT
Author: sebor
Date: Mon Mar 26 14:30:43 2007
New Revision: 522632

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

	STDCXX-371
	* locale.cpp (print_currency_symbol): Corrected indices (regression
	introduced in http://svn.apache.org/viewvc?view=rev&revision=448754).

Modified:
    incubator/stdcxx/trunk/util/locale.cpp

Modified: incubator/stdcxx/trunk/util/locale.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/locale.cpp?view=diff&rev=522632&r1=522631&r2=522632
==============================================================================
--- incubator/stdcxx/trunk/util/locale.cpp (original)
+++ incubator/stdcxx/trunk/util/locale.cpp Mon Mar 26 14:30:43 2007
@@ -1478,7 +1478,7 @@
         std::cout << "\"\"\n";
     else {
         const char* const cs =
-            _RWSTD_STATIC_CAST (const char*, mon_st->curr_symbol (0, 1));
+            _RWSTD_STATIC_CAST (const char*, mon_st->curr_symbol (0, 0));
 
         const wchar_t* const wcs =
             _RWSTD_STATIC_CAST (const wchar_t*, mon_st->curr_symbol (0, 1));



Mime
View raw message