diff --git a/components/tvplanit/laz_visualplanit.lpk b/components/tvplanit/laz_visualplanit.lpk
index 1dfc3a910..8beaa8ff0 100644
--- a/components/tvplanit/laz_visualplanit.lpk
+++ b/components/tvplanit/laz_visualplanit.lpk
@@ -32,7 +32,7 @@ Portions created by TurboPower Software Inc. are Copyright (C) 2002 TurboPower S
Contributor(s): "/>
-
+
@@ -302,13 +302,9 @@ Contributor(s): "/>
-
-
-
-
-
+
diff --git a/components/tvplanit/source/vpganttviewpainter.pas b/components/tvplanit/source/vpganttviewpainter.pas
index bcf1a78ce..c2b3024c8 100644
--- a/components/tvplanit/source/vpganttviewpainter.pas
+++ b/components/tvplanit/source/vpganttviewpainter.pas
@@ -305,7 +305,7 @@ begin
event := eventRec.Event;
if event.EndTime < FGanttView.FirstDate then
Continue;
- if event.StartTime > FGanttView.LastDate then
+ if event.StartTime > FGanttView.LastDate + 1then
exit;
R := ScaleRect(eventRec.EventRect);
OffsetRect(R, -dx, -dy);