* _wasDocument may be NULL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39425 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2452,9 +2452,10 @@ BRoster::_ResolveApp(const char* inType, entry_ref* ref,
|
|||||||
entry_ref appRef;
|
entry_ref appRef;
|
||||||
status_t error;
|
status_t error;
|
||||||
|
|
||||||
if (inType) {
|
if (inType != NULL) {
|
||||||
error = _TranslateType(inType, &appMeta, &appRef, &appFile);
|
error = _TranslateType(inType, &appMeta, &appRef, &appFile);
|
||||||
*_wasDocument = !(appMeta == inType);
|
if (_wasDocument != NULL)
|
||||||
|
*_wasDocument = !(appMeta == inType);
|
||||||
} else {
|
} else {
|
||||||
error = _TranslateRef(ref, &appMeta, &appRef, &appFile,
|
error = _TranslateRef(ref, &appMeta, &appRef, &appFile,
|
||||||
_wasDocument);
|
_wasDocument);
|
||||||
|
|||||||
Reference in New Issue
Block a user