From c0cdb2ad99a1e2a6ade5ce76c91177a79258e669 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:10:11 +0200 Subject: 3.14 --- RealtimeSync/resources.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'RealtimeSync/resources.cpp') diff --git a/RealtimeSync/resources.cpp b/RealtimeSync/resources.cpp index f966d4fa..64de4700 100644 --- a/RealtimeSync/resources.cpp +++ b/RealtimeSync/resources.cpp @@ -80,8 +80,8 @@ void GlobalResources::load() const const wxBitmap& GlobalResources::getImageByName(const wxString& imageName) const { const std::map::const_iterator bmp = imageName.Find(wxChar('.')) == wxNOT_FOUND ? //assume .png ending if nothing else specified - bitmapResource.find(imageName + wxT(".png")) : - bitmapResource.find(imageName); + bitmapResource.find(imageName + wxT(".png")) : + bitmapResource.find(imageName); if (bmp != bitmapResource.end()) return *bmp->second; -- cgit