summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/IniFile.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-04-25 16:47:45 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-04-25 16:47:45 +0000
commit264737fedec7ad1c3ef7625eb66b1d60367aa2fd (patch)
tree6ef4696c6777cca4554008a1dc8380ea59631439 /Source/Core/Common/Src/IniFile.cpp
parent989e2590a2242d59447aacd1b44148809f32f870 (diff)
A compile fix for Linux/OSX in InfoWindow.cpp and also get OSX to stop crashing from loading the audio backend. It's a pretty bad way to do it, but I couldn't find another way. Now to figure out why SMS looks horrible in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3074 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
-rw-r--r--Source/Core/Common/Src/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp
index d2c8b2f94e..8e3add2d8d 100644
--- a/Source/Core/Common/Src/IniFile.cpp
+++ b/Source/Core/Common/Src/IniFile.cpp
@@ -417,7 +417,7 @@ void IniFile::Set(const char* sectionName, const char* key, bool newValue)
bool IniFile::Get(const char* sectionName, const char* key, std::string* value, const char* defaultValue)
{
Section* section = GetSection(sectionName);
-
+
if (!section)
{
if (defaultValue)