From aea20c18930dd4aba69fbda1b66c09f8ee1f6526 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Aug 2003 18:36:19 +0000 Subject: [PATCH] fix potential % crash --- stepmania/src/ScreenOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index 4bfcfc909b..a5e4201613 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -356,7 +356,7 @@ void ScreenOptions::RefreshIcons() for( unsigned j = 0; j < m_OptionRow[i].choices.size(); ++j ) error += ssprintf(" %s\n", m_OptionRow[i].choices[j].c_str()); - RageException::Throw(error); + RageException::Throw( "%s", error.c_str() ); } CString sSelection = m_OptionRow[i].choices[iSelection];