Code optimization.

This commit is contained in:
spx
2010-11-25 15:34:49 +00:00
parent d299d89ede
commit 0e1486f0be
13 changed files with 106 additions and 35 deletions

View File

@ -210,7 +210,7 @@ void UpdateAboutStatistics(LPCTSTR entryName)
CMeasure::GetScaledValue(1, maxVal, buffer);
range += buffer;
if (name && wcslen(name) > 0)
if (name && *name)
{
if (index < count)
{
@ -365,7 +365,7 @@ void ScanPlugins()
if (GetAuthorFunc)
{
LPCTSTR author = GetAuthorFunc();
if (author && wcslen(author) > 0)
if (author && *author)
{
info.author = author;
}