Fix error message for failure to load PNG from resources

Remove the extraneous comma which replaced the resource name with the
second part of the error message, resulting in confusing output.

See #18773.
This commit is contained in:
Vadim Zeitlin 2020-05-27 14:15:15 +02:00
parent 5a5ed51528
commit 07e36f9bbf

View File

@ -629,7 +629,7 @@ bool wxPNGResourceHandler::LoadFile(wxBitmap *bitmap,
*bitmap = wxBitmap::NewFromPNGData(pngData, pngSize);
if ( !bitmap->IsOk() )
{
wxLogError(wxS("Couldn't load resource bitmap \"%s\" as a PNG. "),
wxLogError(wxS("Couldn't load resource bitmap \"%s\" as a PNG. ")
wxS("Have you registered PNG image handler?"),
name);