Applied (part of) a patch by Kaliber, attached to ticket #5875. Thanks!

Will commit the rest later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36577 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2010-05-02 09:58:06 +00:00
parent 3a8771067d
commit a8e3f15774
3 changed files with 3 additions and 3 deletions

View File

@ -2537,7 +2537,7 @@ TMailWindow::SaveAsDraft()
}
// Cache the ref
if (fRef == NULL);
if (fRef == NULL)
fRef = new entry_ref;
BEntry entry(&dir, fileName);
entry.GetRef(fRef);

View File

@ -317,7 +317,7 @@ BChannelControl::SetValue(int32 value)
if (value > fChannelMax[fCurrentChannel])
value = fChannelMax[fCurrentChannel];
if (value < fChannelMin[fCurrentChannel]);
if (value < fChannelMin[fCurrentChannel])
value = fChannelMin[fCurrentChannel];
if (value != fChannelValues[fCurrentChannel]) {

View File

@ -164,7 +164,7 @@ CursorSet::RemoveCursor(BCursorID which)
status_t
CursorSet::FindCursor(BCursorID which, BBitmap **cursor, BPoint *hotspot)
{
if (!cursor || !hotspot);
if (!cursor || !hotspot)
return B_BAD_VALUE;
BMessage msg;