]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for printf positional parameter check from Francesco.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Thu, 14 Dec 2006 00:07:15 +0000 (00:07 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Thu, 14 Dec 2006 00:07:15 +0000 (00:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 70b23acd60ce67f172ba76d286e8c541874e1736..c3a04b4938758b04feb2f16200fe62f4a16577a1 100644 (file)
@@ -4557,7 +4557,7 @@ if test "$ac_cv_func_snprintf" = "yes"; then
                         int main (void)
                         {
                             char buffer[128];
-                            snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
+                            snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
                             if (strcmp ("2 3 1", buffer) == 0)
                                 exit (0);
                             exit (1);