[haiku-commits] r40683 - haiku/trunk/src/apps/people

  • From: philippe.houdoin@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Feb 2011 14:45:43 +0100 (CET)

Author: phoudoin
Date: 2011-02-25 14:45:43 +0100 (Fri, 25 Feb 2011)
New Revision: 40683
Changeset: http://dev.haiku-os.org/changeset/40683
Ticket: http://dev.haiku-os.org/ticket/7264

Modified:
   haiku/trunk/src/apps/people/PersonWindow.cpp
Log:
Since _SetToRet() check previous value of fRef, an sane initial value must be
set at construction.
Closes #7264.


Modified: haiku/trunk/src/apps/people/PersonWindow.cpp
===================================================================
--- haiku/trunk/src/apps/people/PersonWindow.cpp        2011-02-25 13:16:04 UTC 
(rev 40682)
+++ haiku/trunk/src/apps/people/PersonWindow.cpp        2011-02-25 13:45:43 UTC 
(rev 40683)
@@ -47,6 +47,7 @@
        :
        BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE
                | B_AUTO_UPDATE_SIZE_LIMITS),
+       fRef(NULL),
        fPanel(NULL),
        fNameAttribute(nameAttribute)
 {


Other related posts:

  • » [haiku-commits] r40683 - haiku/trunk/src/apps/people - philippe . houdoin