From a82675b7d581421fa80d5d5c53253cf1d5c1a26d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 12 Mar 2014 15:33:41 -0400 Subject: Kill off some usages of c_str. Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc). --- Source/Core/VideoCommon/OnScreenDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/OnScreenDisplay.cpp') diff --git a/Source/Core/VideoCommon/OnScreenDisplay.cpp b/Source/Core/VideoCommon/OnScreenDisplay.cpp index 1e4a8b41ec..30f6725ed6 100644 --- a/Source/Core/VideoCommon/OnScreenDisplay.cpp +++ b/Source/Core/VideoCommon/OnScreenDisplay.cpp @@ -56,8 +56,8 @@ void DrawMessages() alpha <<= 24; - g_renderer->RenderText(it->str.c_str(), left + 1, top + 1, 0x000000 | alpha); - g_renderer->RenderText(it->str.c_str(), left, top, 0xffff30 | alpha); + g_renderer->RenderText(it->str, left + 1, top + 1, 0x000000 | alpha); + g_renderer->RenderText(it->str, left, top, 0xffff30 | alpha); top += 15; if (time_left <= 0) -- cgit v1.2.3