[haiku-commits] r40102 - haiku/trunk/src/preferences/notifications

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 4 Jan 2011 05:02:51 +0100 (CET)

Author: anevilyak
Date: 2011-01-04 05:02:51 +0100 (Tue, 04 Jan 2011)
New Revision: 40102
Changeset: http://dev.haiku-os.org/changeset/40102
Ticket: http://dev.haiku-os.org/ticket/7055

Modified:
   haiku/trunk/src/preferences/notifications/IconRule.cpp
Log:
Fix uninitialized member var that was resulting in a crash on startup. Resolves 
#7055.



Modified: haiku/trunk/src/preferences/notifications/IconRule.cpp
===================================================================
--- haiku/trunk/src/preferences/notifications/IconRule.cpp      2011-01-04 
02:13:13 UTC (rev 40101)
+++ haiku/trunk/src/preferences/notifications/IconRule.cpp      2011-01-04 
04:02:51 UTC (rev 40102)
@@ -24,7 +24,8 @@
        :
        BView(name, B_WILL_DRAW),
        fIcons(5, true),
-       fSelIndex(-1)
+       fSelIndex(-1),
+       fMessage(NULL)
 {
 }
 


Other related posts:

  • » [haiku-commits] r40102 - haiku/trunk/src/preferences/notifications - anevilyak