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:
Clemens Zeidler
2011-03-05 00:18:25 +00:00
parent cd7548f537
commit 4e401f8153
+2
View File
@@ -2787,6 +2787,8 @@ TMailWindow::SetTitleForMessage()
status_t
TMailWindow::OpenMessage(const entry_ref *ref, uint32 characterSetForDecoding)
{
if (ref == NULL)
return B_ERROR;
//
// Set some references to the email file
//