From 0132ef996b2dd652c17c73e77a507c9c390c1815 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 26 Dec 2008 12:59:04 +0000 Subject: [PATCH] Fix possible crash with non constant format string. --- stepmania/src/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 68c5d8dd68..5a6ea91d37 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -717,7 +717,7 @@ void Actor::BeginTweening( float time, ITween *pTween ) { RString sError = ssprintf( "Tween overflow: \"%s\"; infinitely recursing ActorCommand?", GetLineage().c_str() ); - LOG->Warn( sError ); + LOG->Warn( "%s", sError.c_str() ); Dialog::OK( sError ); FinishTweening(); }