* _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:
parent
be3f9645a7
commit
954c60cb56
@ -2452,8 +2452,9 @@ BRoster::_ResolveApp(const char* inType, entry_ref* ref,
|
||||
entry_ref appRef;
|
||||
status_t error;
|
||||
|
||||
if (inType) {
|
||||
if (inType != NULL) {
|
||||
error = _TranslateType(inType, &appMeta, &appRef, &appFile);
|
||||
if (_wasDocument != NULL)
|
||||
*_wasDocument = !(appMeta == inType);
|
||||
} else {
|
||||
error = _TranslateRef(ref, &appMeta, &appRef, &appFile,
|
||||
|
Loading…
Reference in New Issue
Block a user