summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/Frame.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-01-03 19:30:59 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-01-03 19:30:59 +0000
commitf0cffe4e9893fedf9ca223d4e18ea6a671767147 (patch)
treef083c70a23defeb61ec8adcafd7eb0d693983187 /Source/Core/DolphinWX/Src/Frame.cpp
parent41e474d5349c14e895500f294ad02667eb4a9073 (diff)
debug build crash fix, re-enable copying of files on building in vs....why was this disabled?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1750 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/Frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp
index 12482f68cf..100e82f538 100644
--- a/Source/Core/DolphinWX/Src/Frame.cpp
+++ b/Source/Core/DolphinWX/Src/Frame.cpp
@@ -366,10 +366,10 @@ void CFrame::InitBitmaps()
#endif
// Scale to 24x24 for toolbar. Toolbar_Log is already 24x24
- for (size_t n = Toolbar_FileOpen; n <= Toolbar_Help; n++)
+ for (size_t n = Toolbar_FileOpen; n < WXSIZEOF(m_Bitmaps); n++)
{
m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(24, 24));
- }
+ }
}