[PATCH 5/5] Fix copy/paste error from before git history in UpdateCurrentTimeIf()
Chase Douglas
chase.douglas at canonical.com
Wed Apr 11 11:22:14 PDT 2012
See UpdateCurrentTime() for reference. I don't know what bug this might
trigger, but it wouldn't hurt to fix this.
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
dix/dispatch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 104dcc9..bce3a0d 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -214,7 +214,7 @@ UpdateCurrentTimeIf(void)
systime.milliseconds = GetTimeInMillis();
if (systime.milliseconds < currentTime.milliseconds)
systime.months++;
- if (*checkForInput[0] == *checkForInput[1])
+ if (CompareTimeStamps(systime, currentTime) == LATER)
currentTime = systime;
}
--
1.7.9.1
More information about the xorg-devel
mailing list