ARRAYSIZE -> ARRAYLEN

This commit is contained in:
Glenn Maynard
2006-09-13 03:11:38 +00:00
parent 9fb0d09f35
commit e206261b80
21 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, R
{
const RString sLeftSeps[] = { " -", " ~", " (", " [", "\t" };
for( unsigned i=0; i<ARRAYSIZE(sLeftSeps); i++ )
for( unsigned i=0; i<ARRAYLEN(sLeftSeps); i++ )
{
size_t iBeginIndex = sFullTitle.find( sLeftSeps[i] );
if( iBeginIndex == string::npos )