From 0b9330ccf62845cf6c5555cfc1564dd84325f97e Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 7 Feb 2006 06:08:30 +0000 Subject: [PATCH] Fix abort at runtime. --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 8195f27be8..3c6dc3526c 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -721,7 +721,7 @@ RageDisplay *CreateDisplay() RString sError = pRet->Init( params, PREFSMAN->m_bAllowUnacceleratedRenderer ); if( !sError.empty() ) { - error += ssprintf(ERROR_INITIALIZING.GetValue(),sRenderer)+"\n" + sError; + error += ssprintf(ERROR_INITIALIZING.GetValue(), sRenderer.c_str())+"\n" + sError; SAFE_DELETE( pRet ); error += "\n\n\n"; continue;