Fix precedence error.
Flagged as a compiler warning. It appears that it was intended that the
conjuction not bind so tightly.
git-svn-id: http://skia.googlecode.com/svn/trunk@591 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/utils/SkOSFile.cpp b/src/utils/SkOSFile.cpp
index 47f43ba..982bc08 100644
--- a/src/utils/SkOSFile.cpp
+++ b/src/utils/SkOSFile.cpp
@@ -172,9 +172,8 @@
{
size_t suffixLen = suffix.size();
size_t strLen = strlen(str);
-
+
return strLen >= suffixLen &&
- suffixLen == 0 ||
memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
}