]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 20 Feb 2007 11:12:04 +0000 (11:12 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 20 Feb 2007 11:12:04 +0000 (11:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/vsnprintf.cpp

index c69c24a2f680493cbd538dfede3f2a29b3758c8f..c781f06f6161c023c3c20367ff737ee4a19bff36 100644 (file)
@@ -415,7 +415,7 @@ void VsnprintfTestCase::Misc(wxChar *buffer, int size)
     //     format and gcc would warn about this otherwise
 
     r = wxUnsafeSnprintf(buffer, size,
-                         "unicode string: %ls %lc - ansi string: %hs %hc\n\n",
+                         _T("unicode string: %ls %lc - ansi string: %hs %hc\n\n"),
                          L"unicode!!", L'W', "ansi!!", 'w');
     CPPUNIT_ASSERT( r != -1 );
     CPPUNIT_ASSERT_EQUAL(