fix last commit

Origin commit data
------------------
Branch: ni/coolstream
Commit: df3469417c
Author: Frankenstone <dampf_acc@online.de>
Date: 2021-06-17 (Thu, 17 Jun 2021)


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

------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2021-06-17 23:01:08 +02:00
committed by vanhofen
parent 96aab50f23
commit a813284365
2 changed files with 5 additions and 5 deletions

View File

@@ -1827,13 +1827,13 @@ void COsdSetup::paintWindowSize(int w, int h)
g_settings.window_width = w;
g_settings.window_height = h;
if (g_settings.window_width > WINDOW_SIZE_MAX)
if (g_settings.window_width > WINDOW_SIZE_MAX)
g_settings.window_width = WINDOW_SIZE_MAX;
if (g_settings.window_width < WINDOW_SIZE_MIN)
if (g_settings.window_width < WINDOW_SIZE_MIN)
g_settings.window_width = WINDOW_SIZE_MIN;
if (g_settings.window_height > WINDOW_SIZE_MAX)
if (g_settings.window_height > WINDOW_SIZE_MAX)
g_settings.window_height = WINDOW_SIZE_MAX;
if (g_settings.window_height < WINDOW_SIZE_MIN)
if (g_settings.window_height < WINDOW_SIZE_MIN)
g_settings.window_height = WINDOW_SIZE_MIN;
win_demo->setWidth(frameBuffer->getWindowWidth());