branch | RCL_3 |
changeset 369 | c683165bec63 |
parent 368 | b131f7696342 |
child 376 | 31968c23152c |
--- a/engine/src/ShowEngine.cpp Tue Nov 16 10:26:34 2010 +0000 +++ b/engine/src/ShowEngine.cpp Tue Nov 16 13:05:42 2010 +0000 @@ -1689,10 +1689,13 @@ break; } - TTime deleteDate; - deleteDate.HomeTime(); - deleteDate += daysAhead; - aShow->SetDeleteDate(deleteDate); + if (daysAhead.Int() > 0) + { + TTime deleteDate; + deleteDate.HomeTime(); + deleteDate += daysAhead; + aShow->SetDeleteDate(deleteDate); + } UpdateShowL(*aShow); DP("CShowEngine::PostPlayHandling END");