From 43e26aa3f689f80ea7d70cc598d2d044fbd374fd Mon Sep 17 00:00:00 2001 From: janwas Date: Sat, 7 Nov 2009 12:31:18 +0000 Subject: [PATCH] 2 more dehydra fixes This was SVN commit r7180. --- source/ps/CConsole.cpp | 2 +- source/ps/Interact.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ps/CConsole.cpp b/source/ps/CConsole.cpp index 1b6bde69c1..1caaeb3da8 100644 --- a/source/ps/CConsole.cpp +++ b/source/ps/CConsole.cpp @@ -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; } } diff --git a/source/ps/Interact.cpp b/source/ps/Interact.cpp index 547237ddcb..279a13f514 100644 --- a/source/ps/Interact.cpp +++ b/source/ps/Interact.cpp @@ -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(); }