Commit c73ddd31 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

dix/dispatch.c: Fix copy/paste error from before git history in UpdateCurrentTimeIf()

Backport from this commit: commit 8dfd98245d2c44a1eb4c8b7c275e6cfc10fe40f1 Author: Chase Douglas <chase.douglas@canonical.com> Date: Wed Apr 11 11:14:51 2012 -0700 Fix copy/paste error from before git history in UpdateCurrentTimeIf() See UpdateCurrentTime() for reference. I don't know what bug this might trigger, but it wouldn't hurt to fix this. Signed-off-by: 's avatarChase Douglas <chase.douglas@canonical.com> Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f38ecc6f
......@@ -209,7 +209,7 @@ UpdateCurrentTimeIf()
systime.milliseconds = GetTimeInMillis();
if (systime.milliseconds < currentTime.milliseconds)
systime.months++;
if (*checkForInput[0] == *checkForInput[1])
if (CompareTimeStamps(systime, currentTime) == LATER)
currentTime = systime;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment