From 6e738c167d9b8ed512ee982033d0f60d766d22e2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 May 2014 09:59:07 +0000 Subject: [PATCH] Fix image resolution options setting in wxBMPHandler code. This was broken by the changes of r76144 as the resolution information read from the bitmap was never used due to a typo in Resolution::Init(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagbmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp index adbe3bb908..13430970ec 100644 --- a/src/common/imagbmp.cpp +++ b/src/common/imagbmp.cpp @@ -1113,7 +1113,7 @@ bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream, { m_x = x; m_y = y; - m_valid = false; + m_valid = true; } bool IsValid() const { return m_valid; }