summaryrefslogtreecommitdiff
path: root/lib/resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resources.cpp')
-rw-r--r--lib/resources.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/resources.cpp b/lib/resources.cpp
index 6d586e54..7d46739e 100644
--- a/lib/resources.cpp
+++ b/lib/resources.cpp
@@ -86,11 +86,11 @@ GlobalResources::GlobalResources()
const wxBitmap& GlobalResources::getImageInt(const wxString& imageName) const
{
- auto iter = bitmaps.find(!contains(imageName, L'.') ? //assume .png ending if nothing else specified
+ auto it = bitmaps.find(!contains(imageName, L'.') ? //assume .png ending if nothing else specified
imageName + L".png" :
imageName);
- if (iter != bitmaps.end())
- return iter->second;
+ if (it != bitmaps.end())
+ return it->second;
else
{
assert(false);
bgstack15