Cleanup ugly mess of casts but did not break this time...

This commit is contained in:
Steve Checkoway
2004-08-28 18:45:44 +00:00
parent 0a880ddfab
commit 69bcc3d985
+1 -1
View File
@@ -332,7 +332,7 @@ void ScreenNetSelectMusic::HandleScreenMessage( const ScreenMessage SM )
vector <wstring> wLines;
m_textOutHidden.GetLines( wLines );
CString actualText = "";
for (unsigned i = (unsigned) max(int(wLines.size() - SHOW_CHAT_LINES), (int)0 ) ; i < wLines.size() ; ++i)
for (unsigned i = max(int(wLines.size()) - SHOW_CHAT_LINES, 0 ) ; i < wLines.size() ; ++i)
actualText += WStringToCString(wLines[i])+'\n';
m_textChatOutput.SetText( actualText );
break;