]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strvararg.cpp
Remove temporary files created by wxFileName unit test case.
[wxWidgets.git] / src / common / strvararg.cpp
index a4c2256dfb474ac44d40fa4c977ecc5288a4d1e3..484fe0f883acf24b14e65189a09da19085e7ac15 100644 (file)
@@ -161,6 +161,19 @@ public:
         {
             if ( CopyFmtChar(*format++) == wxT('%') )
             {
+#if wxUSE_PRINTF_POS_PARAMS
+                if ( *format >= '0' && *format <= '9' )
+                {
+                    SkipDigits(&format);
+                    if ( *format == '$' )
+                    {
+                        // It was a positional argument specification.
+                        CopyFmtChar(*format++);
+                    }
+                    //else: it was a width specification, nothing else to do.
+                }
+#endif // wxUSE_PRINTF_POS_PARAMS
+
                 // skip any flags
                 while ( IsFlagChar(*format) )
                     CopyFmtChar(*format++);