From b8bb5890f99e10528fe41ad80e69778c6c03cc90 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 5 May 2005 20:06:47 +0000 Subject: [PATCH] cleanup --- stepmania/src/Sprite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 8fd2e05366..e5ee3faa69 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -698,12 +698,12 @@ void Sprite::SetState( int iNewState ) { CString sError; if( m_pTexture ) - sError = ssprintf("The Sprite '%s' (\"%s\") tried to set state index %d, but it has only %u states", + sError = ssprintf("A Sprite '%s' (\"%s\") tried to set state index %d, but it has only %u states.", m_pTexture->GetID().filename.c_str(), this->m_sName.c_str(), iNewState, unsigned(m_States.size())); else - sError = ssprintf("A Sprite (\"%s\") tried to set state index %d but no texture is loaded.", + sError = ssprintf("A Sprite (\"%s\") tried to set state index %d, but no texture is loaded.", this->m_sName.c_str(), iNewState ); - Dialog::OK( sError ); + Dialog::OK( sError, "SPRITE_INVALID_FRAME" ); } }