Fix crash when opening a new mail. Thanks Jonas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40812 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2787,6 +2787,8 @@ TMailWindow::SetTitleForMessage()
|
|||||||
status_t
|
status_t
|
||||||
TMailWindow::OpenMessage(const entry_ref *ref, uint32 characterSetForDecoding)
|
TMailWindow::OpenMessage(const entry_ref *ref, uint32 characterSetForDecoding)
|
||||||
{
|
{
|
||||||
|
if (ref == NULL)
|
||||||
|
return B_ERROR;
|
||||||
//
|
//
|
||||||
// Set some references to the email file
|
// Set some references to the email file
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user