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:
parent
3a8771067d
commit
a8e3f15774
|
@ -2537,7 +2537,7 @@ TMailWindow::SaveAsDraft()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cache the ref
|
// Cache the ref
|
||||||
if (fRef == NULL);
|
if (fRef == NULL)
|
||||||
fRef = new entry_ref;
|
fRef = new entry_ref;
|
||||||
BEntry entry(&dir, fileName);
|
BEntry entry(&dir, fileName);
|
||||||
entry.GetRef(fRef);
|
entry.GetRef(fRef);
|
||||||
|
|
|
@ -317,7 +317,7 @@ BChannelControl::SetValue(int32 value)
|
||||||
if (value > fChannelMax[fCurrentChannel])
|
if (value > fChannelMax[fCurrentChannel])
|
||||||
value = fChannelMax[fCurrentChannel];
|
value = fChannelMax[fCurrentChannel];
|
||||||
|
|
||||||
if (value < fChannelMin[fCurrentChannel]);
|
if (value < fChannelMin[fCurrentChannel])
|
||||||
value = fChannelMin[fCurrentChannel];
|
value = fChannelMin[fCurrentChannel];
|
||||||
|
|
||||||
if (value != fChannelValues[fCurrentChannel]) {
|
if (value != fChannelValues[fCurrentChannel]) {
|
||||||
|
|
|
@ -164,7 +164,7 @@ CursorSet::RemoveCursor(BCursorID which)
|
||||||
status_t
|
status_t
|
||||||
CursorSet::FindCursor(BCursorID which, BBitmap **cursor, BPoint *hotspot)
|
CursorSet::FindCursor(BCursorID which, BBitmap **cursor, BPoint *hotspot)
|
||||||
{
|
{
|
||||||
if (!cursor || !hotspot);
|
if (!cursor || !hotspot)
|
||||||
return B_BAD_VALUE;
|
return B_BAD_VALUE;
|
||||||
|
|
||||||
BMessage msg;
|
BMessage msg;
|
||||||
|
|
Loading…
Reference in New Issue