diff --git a/src/StepMania.cpp b/src/StepMania.cpp index e8308abf85..65300a9264 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -107,9 +107,9 @@ void StepMania::GetPreferredVideoModeParams( VideoModeParams ¶msOut ) int iWidth = PREFSMAN->m_iDisplayWidth; if( PREFSMAN->m_bWindowed ) { - float fRatio = PREFSMAN->m_iDisplayWidth / PREFSMAN->m_iDisplayHeight; - //iWidth = PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio; - iWidth = PREFSMAN->m_iDisplayHeight * fRatio; + //float fRatio = PREFSMAN->m_iDisplayWidth / PREFSMAN->m_iDisplayHeight; + iWidth = PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio; + //iWidth = PREFSMAN->m_iDisplayHeight * fRatio; } paramsOut = VideoModeParams( @@ -919,7 +919,7 @@ static void WriteLogHeader() #endif // this code should only be enabled in distributed builds - LOG->Info("sm-ssc is Copyright ©2009 the spinal shark collective, all rights reserved. Commercial use of this binary is prohibited by law and will be prosecuted to the fullest extent of the law."); + LOG->Info("sm-ssc is Copyright ©2009 the spinal shark collective, all rights reserved. Commercial use of this binary is prohibited by law and will be prosecuted to the fullest extent of the law."); // end limited code time_t cur_time;