add () to fix warning
git-svn-id: http://skia.googlecode.com/svn/trunk@1033 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1493a66824
commit
f1ec465f87
@ -74,8 +74,8 @@ public:
|
||||
}
|
||||
bool hasString(const char name[], const char value[]) const {
|
||||
const char* v = this->findString(name);
|
||||
return v == NULL && value == NULL ||
|
||||
v != NULL && value != NULL && !strcmp(v, value);
|
||||
return (v == NULL && value == NULL) ||
|
||||
(v != NULL && value != NULL && !strcmp(v, value));
|
||||
}
|
||||
bool hasPtr(const char name[], void* value) const {
|
||||
void* v;
|
||||
|
Loading…
Reference in New Issue
Block a user