From 22eee805b9c1f8049475017de402d46016f9aebb Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 15 Feb 2005 01:53:30 +0000 Subject: [PATCH] show the resulting invalid color value when a color metric using a Lua function returns garbage, not the text of the lua call --- stepmania/src/ThemeManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index 654290be9f..af29e02085 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -738,7 +738,7 @@ RageColor ThemeManager::GetMetricC( const CString &sClassName, const CString &sV RageColor ret(1,1,1,1); if( !ret.FromString(sValue) ) - LOG->Warn( "The color value '%s' for metric '%s : %s' is invalid.", GetMetricRaw(sClassName,sValueName).c_str(), sClassName.c_str(), sValueName.c_str() ); + LOG->Warn( "The color value '%s' for metric '%s : %s' is invalid.", sValue.c_str(), sClassName.c_str(), sValueName.c_str() ); return ret; }