aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalP <CrystalP@xbmc.org>2011-01-22 23:08:25 -0500
committerCrystalP <CrystalP@xbmc.org>2011-01-22 23:09:22 -0500
commitcc43de34df2ab250f30f75237eed79a69a510a34 (patch)
tree06985f7fc90426ae874a604963b7ec80877469f2
parentbfb0ba2b0417a043e39689592a807ede41f12034 (diff)
fixed: guard access to g_SkinInfo
-rw-r--r--guilib/GUIWindow.cpp2
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