Fix compilation errors with Visual Studio 2010

This commit is contained in:
Tsuda Kageyu
2012-08-23 19:58:21 +09:00
parent 9bb57fe0a7
commit 6c0227ee13
2 changed files with 3 additions and 3 deletions

View File

@ -260,7 +260,7 @@ PropertyMap APE::Tag::setProperties(const PropertyMap &origProps)
bool APE::Tag::checkKey(const String &key)
{
if(key.size() < 2 or key.size() > 16)
if(key.size() < 2 || key.size() > 16)
return false;
for(String::ConstIterator it = key.begin(); it != key.end(); it++)
// only allow printable ASCII including space (32..127)