1
0
forked from 0ad/0ad

2 more dehydra fixes

This was SVN commit r7180.
This commit is contained in:
janwas 2009-11-07 12:31:18 +00:00
parent 2ef4e7353e
commit 43e26aa3f6
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ void CConsole::InsertChar(const int szChar, const wchar_t cooked )
}
if(!bad)
{
SetBuffer(m_deqBufHistory.at(iHistoryPos).c_str());
SetBuffer(L"%ls", m_deqBufHistory.at(iHistoryPos).c_str());
return;
}
}

View File

@ -1042,7 +1042,7 @@ void CMouseoverEntities::RenderOverlays()
glColor4f( 1.0f, 1.0f, 1.0f, it->fade );
glTranslatef( x, g_Renderer.GetHeight() - y, 0.0f );
glScalef( 1.0f, -1.0f, 1.0f );
glwprintf( L"%d", it->entity->m_grouped );
glwprintf( L"%ld", it->entity->m_grouped );
glDisable( GL_TEXTURE_2D );
glPopMatrix();
}