src/gui/components/cc_frm_window.cpp dont paint over screen size

Origin commit data
------------------
Branch: ni/coolstream
Commit: 912017621b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-20 (Sat, 20 Aug 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-08-20 16:20:16 +02:00
parent eb7f2c4fa8
commit f30dc8988d

View File

@@ -170,8 +170,13 @@ void CComponentsWindow::initWindowSize()
if (width == 0)
width = frameBuffer->getScreenWidth();
else if ((unsigned)width > frameBuffer->getScreenWidth())
width = frameBuffer->getScreenWidth();
if (height == 0)
height = frameBuffer->getScreenHeight();
else if((unsigned)height > frameBuffer->getScreenHeight())
height = frameBuffer->getScreenHeight();
}
void CComponentsWindow::initWindowPos()