* fix gcc4 warning

* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2009-05-02 19:02:27 +00:00
parent 5b3152c4fb
commit 5fac79601e
+3 -2
View File
@@ -882,8 +882,9 @@ BTranslatorRoster::Private::_CheckHints(const translation_format* formats,
// scan for suitable format
for (int32 i = 0; i < formatsCount && formats[i].type; i++) {
if (formats[i].type == hintType
|| hintMIME && ((super && !strncmp(formats[i].MIME, hintMIME, super))
|| !strcmp(formats[i].MIME, hintMIME)))
|| (hintMIME
&& ((super && !strncmp(formats[i].MIME, hintMIME, super))
|| !strcmp(formats[i].MIME, hintMIME))))
return &formats[i];
}