* small simplification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19189 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -299,13 +299,10 @@ TTimeView::Draw(BRect /*updateRect*/)
|
||||
FillRect(Bounds());
|
||||
SetHighColor(0, 0, 0, 255);
|
||||
|
||||
if (fShowingDate) {
|
||||
MovePenTo(fDateLocation);
|
||||
DrawString(fDateStr);
|
||||
} else {
|
||||
MovePenTo(fTimeLocation);
|
||||
DrawString(fTimeStr);
|
||||
}
|
||||
if (fShowingDate)
|
||||
DrawString(fDateStr, fDateLocation);
|
||||
else
|
||||
DrawString(fTimeStr, fTimeLocation);
|
||||
|
||||
PopState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user