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:
Vadim Zeitlin
2022-04-17 18:30:42 +02:00
parent 02741a6c92
commit 6a48431ca1

View File

@@ -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