From 589d9759a45fe78d4aec4f997c72985ef8d8393d Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Fri, 25 Feb 2011 13:45:43 +0000 Subject: [PATCH] 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 --- src/apps/people/PersonWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/people/PersonWindow.cpp b/src/apps/people/PersonWindow.cpp index cf80607c30..ba982aa424 100644 --- a/src/apps/people/PersonWindow.cpp +++ b/src/apps/people/PersonWindow.cpp @@ -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) {