diff options
author | CrystalP <CrystalP@xbmc.org> | 2011-01-22 23:08:25 -0500 |
---|---|---|
committer | CrystalP <CrystalP@xbmc.org> | 2011-01-22 23:09:22 -0500 |
commit | cc43de34df2ab250f30f75237eed79a69a510a34 (patch) | |
tree | 06985f7fc90426ae874a604963b7ec80877469f2 | |
parent | bfb0ba2b0417a043e39689592a807ede41f12034 (diff) |
fixed: guard access to g_SkinInfo
-rw-r--r-- | guilib/GUIWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIWindow.cpp b/guilib/GUIWindow.cpp index 013399859d..6c049a5722 100644 --- a/guilib/GUIWindow.cpp +++ b/guilib/GUIWindow.cpp @@ -77,7 +77,7 @@ bool CGUIWindow::Load(const CStdString& strFileName, bool bContainsPath) CPerformanceSample aSample("WindowLoad-" + strFileName, true); #endif - if (m_windowLoaded) + if (m_windowLoaded || g_SkinInfo == NULL) return true; // no point loading if it's already there #ifdef _DEBUG |