* small simplification

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19189 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-11-03 09:40:48 +00:00
parent 6e3b3b09d3
commit f12a404e88
+4 -7
View File
@@ -299,13 +299,10 @@ TTimeView::Draw(BRect /*updateRect*/)
FillRect(Bounds()); FillRect(Bounds());
SetHighColor(0, 0, 0, 255); SetHighColor(0, 0, 0, 255);
if (fShowingDate) { if (fShowingDate)
MovePenTo(fDateLocation); DrawString(fDateStr, fDateLocation);
DrawString(fDateStr); else
} else { DrawString(fTimeStr, fTimeLocation);
MovePenTo(fTimeLocation);
DrawString(fTimeStr);
}
PopState(); PopState();
} }