r39419 accidentally introduced an additional local variable that shadowed the one used to return errors from _LaunchApp. This had the net effect that errors were never returned correctly.
Fixes #6956. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39723 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2261,7 +2261,7 @@ BRoster::_LaunchApp(const char* mimeType, const entry_ref* ref,
|
||||
// find the app
|
||||
entry_ref appRef;
|
||||
char signature[B_MIME_TYPE_LENGTH];
|
||||
status_t error = _ResolveApp(mimeType, docRef, &appRef, signature,
|
||||
error = _ResolveApp(mimeType, docRef, &appRef, signature,
|
||||
&appFlags, &wasDocument);
|
||||
DBG(OUT(" find app: %s (%lx)\n", strerror(error), error));
|
||||
if (error != B_OK)
|
||||
|
||||
Reference in New Issue
Block a user