diff --git a/stepmania/src/CodeDetector.cpp b/stepmania/src/CodeDetector.cpp index ae79c959e7..3a6171ce1d 100644 --- a/stepmania/src/CodeDetector.cpp +++ b/stepmania/src/CodeDetector.cpp @@ -140,7 +140,8 @@ void RefreshCacheItem( int iIndex ) if( asButtonNames.size() < 2 ) { - LOG->Trace( "The code '%s' is less than 2 buttons, so it will be ignored.", sCodeName.c_str() ); + if( sCodeName != "" ) + LOG->Trace( "The code '%s' is less than 2 buttons, so it will be ignored.", sCodeName.c_str() ); item.iNumButtons = 0; return; }