From 07e36f9bbfd2dd641ab6385b98616530e8b32860 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 May 2020 14:15:15 +0200 Subject: [PATCH] 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. --- src/msw/gdiimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index 03efd2f2bb..3a505b2378 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -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);