projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1265f1
)
[WIN32] fixed: if we don't found - for whatever reason - a suitable monitor, abort...
author
wsoltys
<wiso@no.way>
Tue, 9 Jul 2013 15:07:50 +0000
(17:07 +0200)
committer
wsoltys
<wiso@no.way>
Tue, 9 Jul 2013 15:10:24 +0000
(17:10 +0200)
xbmc/windowing/windows/WinSystemWin32.cpp
patch
|
blob
|
history
diff --git
a/xbmc/windowing/windows/WinSystemWin32.cpp
b/xbmc/windowing/windows/WinSystemWin32.cpp
index
c0536ca
..
3e801c2
100644
(file)
--- a/
xbmc/windowing/windows/WinSystemWin32.cpp
+++ b/
xbmc/windowing/windows/WinSystemWin32.cpp
@@
-60,6
+60,12
@@
bool CWinSystemWin32::InitWindowSystem()
if(!CWinSystemBase::InitWindowSystem())
return false;
+ if(m_MonitorsInfo.size() < 1)
+ {
+ CLog::Log(LOGERROR, "%s - no suitable monitor found, aborting...", __FUNCTION__);
+ return false;
+ }
+
return true;
}