From 7a282f3b28501ac3d2494d7b144eaa0a59a45672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 1 May 2009 08:39:02 +0000 Subject: [PATCH] * combine MovePenTo() with DrawString() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30530 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/FindPanel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kits/tracker/FindPanel.cpp b/src/kits/tracker/FindPanel.cpp index f4ed1bf8e6..696f0313b6 100644 --- a/src/kits/tracker/FindPanel.cpp +++ b/src/kits/tracker/FindPanel.cpp @@ -2564,8 +2564,7 @@ TAttrView::Draw(BRect) // draws the is/contains, etc. string bounds.left -= (width + 10); bounds.bottom -= 6; - MovePenTo(bounds.LeftBottom()); - DrawString(item->Submenu()->FindMarked()->Label()); + DrawString(item->Submenu()->FindMarked()->Label(), bounds.LeftBottom()); } }