Fix typo spotted by Clang. Resolves ticket #6253.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2010-07-02 19:48:13 +00:00
parent 9697a9688b
commit fc7c01a114
+1 -1
View File
@@ -396,7 +396,7 @@ template<class Type>
int32
AttributeStreamConstValue<Type>::Find(const char *name, uint32 type) const
{
if (strcmp(fAttr.Name(), name) == 0 && type = fAttr.Type())
if (strcmp(fAttr.Name(), name) == 0 && type == fAttr.Type())
return 0;
return -1;