* 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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user