diff --git a/src/DisplayWindow.cpp b/src/DisplayWindow.cpp index 647c690be..59725f626 100644 --- a/src/DisplayWindow.cpp +++ b/src/DisplayWindow.cpp @@ -187,8 +187,8 @@ void DisplayWindow::_setBufferSize() m_width = m_screenWidth; m_height = m_screenHeight; if (m_screenWidth * 9 / 16 > m_screenHeight) { - f32 width43 = m_screenHeight * 16.0f / 9.0f; - m_adjustScale = width43 / m_screenWidth; + f32 width169 = m_screenHeight * 16.0f / 9.0f; + m_adjustScale = width169 / m_screenWidth; m_bAdjustScreen = true; } break;