summaryrefslogtreecommitdiff
path: root/RealtimeSync/resources.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
commitecb1524f8da7901338b263384fed3c612f117b4c (patch)
treee7e06423fe27ea5ab45f27fc4b39ae597ba72490 /RealtimeSync/resources.cpp
parent5.10 (diff)
downloadFreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip
5.11
Diffstat (limited to 'RealtimeSync/resources.cpp')
-rw-r--r--RealtimeSync/resources.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/RealtimeSync/resources.cpp b/RealtimeSync/resources.cpp
index 4e84921d..391a1ddb 100644
--- a/RealtimeSync/resources.cpp
+++ b/RealtimeSync/resources.cpp
@@ -59,11 +59,11 @@ GlobalResources::GlobalResources()
const wxBitmap& GlobalResources::getImageInt(const wxString& name) const
{
- auto iter = bitmaps.find(!contains(name, L'.') ? //assume .png ending if nothing else specified
+ auto it = bitmaps.find(!contains(name, L'.') ? //assume .png ending if nothing else specified
name + L".png" :
name);
- if (iter != bitmaps.end())
- return iter->second;
+ if (it != bitmaps.end())
+ return it->second;
else
{
assert(false);
bgstack15