diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index b5c3c9282e..b819170706 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -64,7 +64,7 @@ int power_of_two(int input) bool IsAnInt( const CString &s ) { - if( s[0] == '\0' ) + if( !s.size() ) return false; for( int i=0; s[i]; i++ )