From fb9cf55d990f7419dd7ae3ce9fdaadf07059b9cb Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 12:58:02 +0000 Subject: [PATCH] Removed commented out code from contacteditor/frmContactEditor-Logo.cpp --- source/contacteditor/frmContactEditor-Logo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/contacteditor/frmContactEditor-Logo.cpp b/source/contacteditor/frmContactEditor-Logo.cpp index cf9e3f4..e75a6a0 100644 --- a/source/contacteditor/frmContactEditor-Logo.cpp +++ b/source/contacteditor/frmContactEditor-Logo.cpp @@ -46,8 +46,7 @@ void frmContactEditor::LoadLogo( wxListEvent& event ) wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size()); wxImage photo; - //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size()); - + if (pictypeiter->second == wxT("image/jpeg")){ if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){ -- 2.39.5