Add missing wxLogWarning() argument to wxDynamicLibrary test
The argument corresponding to the "%s" format specifier was missing, which resulted in a crash if the dynamic library tested didn't actually exist.
This commit is contained in:
@@ -61,7 +61,7 @@ void DynamicLibraryTestCase::Load()
|
|||||||
if ( !wxFileName::Exists(LIB_NAME) )
|
if ( !wxFileName::Exists(LIB_NAME) )
|
||||||
{
|
{
|
||||||
wxLogWarning("Shared library \"%s\" doesn't exist, "
|
wxLogWarning("Shared library \"%s\" doesn't exist, "
|
||||||
"skipping DynamicLibraryTestCase::Load() test.");
|
"skipping DynamicLibraryTestCase::Load() test.", LIB_NAME);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user