neutrino: minor code formattings

Origin commit data
------------------
Branch: ni/coolstream
Commit: 52c8e206b3
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-28 (Mon, 28 Jun 2021)

Origin message was:
------------------
- neutrino: minor code formattings

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-06-28 23:06:12 +02:00
parent 714a9fddfa
commit b123bf6acf

View File

@@ -1277,11 +1277,13 @@ void CNeutrinoApp::setScreenSettings()
g_settings.screen_width = frameBuffer->getScreenWidth(true);
g_settings.screen_height = frameBuffer->getScreenHeight(true);
switch (g_settings.osd_resolution) {
switch (g_settings.osd_resolution)
{
#ifdef ENABLE_CHANGE_OSD_RESOLUTION
case 1:
{
switch (g_settings.screen_preset) {
{
switch (g_settings.screen_preset)
{
case COsdSetup::PRESET_SCREEN_B:
g_settings.screen_StartX = g_settings.screen_StartX_b_1;
g_settings.screen_StartY = g_settings.screen_StartY_b_1;
@@ -1296,13 +1298,14 @@ void CNeutrinoApp::setScreenSettings()
g_settings.screen_EndY = g_settings.screen_EndY_a_1;
break;
}
}
}
break;
#endif
case 0:
default:
{
switch (g_settings.screen_preset) {
{
switch (g_settings.screen_preset)
{
case COsdSetup::PRESET_SCREEN_B:
g_settings.screen_StartX = g_settings.screen_StartX_b_0;
g_settings.screen_StartY = g_settings.screen_StartY_b_0;
@@ -1317,7 +1320,7 @@ void CNeutrinoApp::setScreenSettings()
g_settings.screen_EndY = g_settings.screen_EndY_a_0;
break;
}
}
}
break;
}
}