* fixed warnings in icon-o-matic (one of which was actually a style issue ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38270 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -114,13 +114,14 @@ PropertyItemView::MouseDown(BPoint where)
|
||||
|
||||
if (BMessage* message = Window()->CurrentMessage()) {
|
||||
int32 clicks;
|
||||
if (message->FindInt32("clicks", &clicks) >= B_OK)
|
||||
if (message->FindInt32("clicks", &clicks) >= B_OK) {
|
||||
if (clicks >= 2)
|
||||
fParent->DoubleClicked(this);
|
||||
else
|
||||
fParent->Clicked(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MouseUp
|
||||
|
||||
@@ -451,8 +451,7 @@ _WriteTransformer(LittleEndianBuffer& buffer, Transformer* t)
|
||||
|| !buffer.Write(miterLimit))
|
||||
return false;
|
||||
|
||||
} else if (PerspectiveTransformer* perspective
|
||||
= dynamic_cast<PerspectiveTransformer*>(t)) {
|
||||
} else if (dynamic_cast<PerspectiveTransformer*>(t)) {
|
||||
// perspective
|
||||
if (!buffer.Write((uint8)TRANSFORMER_TYPE_PERSPECTIVE))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user