[haiku-commits] r36577 - in haiku/trunk/src: apps/mail kits/interface servers/app

  • From: stefano.ceccherini@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 2 May 2010 11:58:06 +0200 (CEST)

Author: jackburton
Date: 2010-05-02 11:58:06 +0200 (Sun, 02 May 2010)
New Revision: 36577
Changeset: http://dev.haiku-os.org/changeset/36577/haiku
Ticket: http://dev.haiku-os.org/ticket/5875

Modified:
   haiku/trunk/src/apps/mail/MailWindow.cpp
   haiku/trunk/src/kits/interface/ChannelControl.cpp
   haiku/trunk/src/servers/app/CursorSet.cpp
Log:
Applied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!
Will commit the rest later.


Modified: haiku/trunk/src/apps/mail/MailWindow.cpp
===================================================================
--- haiku/trunk/src/apps/mail/MailWindow.cpp    2010-05-02 08:29:41 UTC (rev 
36576)
+++ haiku/trunk/src/apps/mail/MailWindow.cpp    2010-05-02 09:58:06 UTC (rev 
36577)
@@ -2537,7 +2537,7 @@
                                }
 
                                // Cache the ref
-                               if (fRef == NULL);
+                               if (fRef == NULL)
                                        fRef = new entry_ref;
                                BEntry entry(&dir, fileName);
                                entry.GetRef(fRef);

Modified: haiku/trunk/src/kits/interface/ChannelControl.cpp
===================================================================
--- haiku/trunk/src/kits/interface/ChannelControl.cpp   2010-05-02 08:29:41 UTC 
(rev 36576)
+++ haiku/trunk/src/kits/interface/ChannelControl.cpp   2010-05-02 09:58:06 UTC 
(rev 36577)
@@ -317,7 +317,7 @@
        if (value > fChannelMax[fCurrentChannel])
                value = fChannelMax[fCurrentChannel];
        
-       if (value < fChannelMin[fCurrentChannel]);
+       if (value < fChannelMin[fCurrentChannel])
                value = fChannelMin[fCurrentChannel];
                
        if (value != fChannelValues[fCurrentChannel]) {

Modified: haiku/trunk/src/servers/app/CursorSet.cpp
===================================================================
--- haiku/trunk/src/servers/app/CursorSet.cpp   2010-05-02 08:29:41 UTC (rev 
36576)
+++ haiku/trunk/src/servers/app/CursorSet.cpp   2010-05-02 09:58:06 UTC (rev 
36577)
@@ -164,7 +164,7 @@
 status_t
 CursorSet::FindCursor(BCursorID which, BBitmap **cursor, BPoint *hotspot)
 {
-       if (!cursor || !hotspot);
+       if (!cursor || !hotspot)
                return B_BAD_VALUE;
 
        BMessage msg;


Other related posts:

  • » [haiku-commits] r36577 - in haiku/trunk/src: apps/mail kits/interface servers/app - stefano . ceccherini