Since _SetToRet() check previous value of fRef, an sane initial value must be

set at construction.
Closes #7264.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2011-02-25 13:45:43 +00:00
parent ea56573776
commit 589d9759a4
+1
View File
@@ -47,6 +47,7 @@ PersonWindow::PersonWindow(BRect frame, const char* title,
:
BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE
| B_AUTO_UPDATE_SIZE_LIMITS),
fRef(NULL),
fPanel(NULL),
fNameAttribute(nameAttribute)
{