[PATCH 5/5] Fix copy/paste error from before git history in UpdateCurrentTimeIf()

Peter Hutterer peter.hutterer at who-t.net
Thu Apr 12 22:30:31 PDT 2012


On Wed, Apr 11, 2012 at 11:22:14AM -0700, Chase Douglas wrote:
> 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

2, 3 and 5, Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
 
Cheers,
  Peter


More information about the xorg-devel mailing list