* small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21842 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2ac748daf1
commit
90ad4da30d
@ -2080,12 +2080,8 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code, BPrivate::LinkReceiver &li
|
||||
{
|
||||
DTRACE(("ServerWindow %s: Message AS_STROKE_RECT\n", Title()));
|
||||
|
||||
float left, top, right, bottom;
|
||||
link.Read<float>(&left);
|
||||
link.Read<float>(&top);
|
||||
link.Read<float>(&right);
|
||||
link.Read<float>(&bottom);
|
||||
BRect rect(left,top,right,bottom);
|
||||
BRect rect;
|
||||
link.Read<BRect>(&rect);
|
||||
|
||||
fCurrentLayer->ConvertToScreenForDrawing(&rect);
|
||||
drawingEngine->StrokeRect(rect);
|
||||
|
Loading…
Reference in New Issue
Block a user