Don't use printf() with non-literal string as format.
Replace calls to printf() with puts() in the typetest sample. See #14311. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -892,10 +892,10 @@ void MyApp::DoUnicodeDemo(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
printf( "\n\nConversion with wxConvLocal:\n" );
|
printf( "\n\nConversion with wxConvLocal:\n" );
|
||||||
wxConvCurrent = &wxConvLocal;
|
wxConvCurrent = &wxConvLocal;
|
||||||
printf( (const char*) str.mbc_str() );
|
puts( str.mbc_str() );
|
||||||
printf( "\n\nConversion with wxConvLibc:\n" );
|
printf( "\n\nConversion with wxConvLibc:\n" );
|
||||||
wxConvCurrent = &wxConvLibc;
|
wxConvCurrent = &wxConvLibc;
|
||||||
printf( (const char*) str.mbc_str() );
|
puts( str.mbc_str() );
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user