]> git.saurik.com Git - wxWidgets.git/commitdiff
Blind fix
authorJulian Smart <julian@anthemion.co.uk>
Wed, 22 Aug 2007 13:49:38 +0000 (13:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 22 Aug 2007 13:49:38 +0000 (13:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wxprintf.cpp

index f0c4c221b99eb8b84c13b067265e2c20e8d220f7..9e46924085cb1e49e2b4d00ba19264bab18aa8c0 100644 (file)
@@ -174,7 +174,7 @@ static int wxDoVsnprintf(CharType *buf, size_t lenMax,
     // NOTE2: the +1 is because we want to copy also the '\0'
     size_t tocopy = wxStrlen(format) + 1  - ( toparse - format ) ;
 
-    lenCur += wxCopyStrWithPercents(lenMax - lenCur, buf + lenCur, 
+    lenCur += wxCopyStrWithPercents(lenMax - lenCur, buf + lenCur,
                                     tocopy, toparse) - 1;
     if (buf[lenCur])
     {
@@ -190,8 +190,6 @@ static int wxDoVsnprintf(CharType *buf, size_t lenMax,
     return lenCur;
 }
 
-} // anonymous namespace
-
 #endif // !defined(wxCRT_VsnprintfW) || !defined(wxCRT_VsnprintfA)
 
 // ----------------------------------------------------------------------------