diff --git a/src/main.cpp b/src/main.cpp index 9b0542d91..af4129d9b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "../wowViewerLib/src/gapi/interface/IDevice.h" @@ -453,13 +454,13 @@ int main(){ std::cout << "monitor diag " << monitorDiag << "''" << std::endl; if (monitorDiag > 20) { - uiScale = std::min(uiScale, 2.0f); + uiScale = std::min(uiScale, 2.0f); } if (monitorDiag > 25) { - uiScale = std::min(uiScale, 1.5f); + uiScale = std::min(uiScale, 1.5f); } - std::cout << "corrected uiScale for monitor dimentions = " << uiScale << std::endl; + std::cout << "corrected uiScale for monitor dimensions = " << uiScale << std::endl; } frontendUI->setUIScale(uiScale);