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: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									6ca30cb33e
								
							
						
					
					
						commit
						8dfd98245d
					
				| 
						 | 
					@ -214,7 +214,7 @@ UpdateCurrentTimeIf(void)
 | 
				
			||||||
    systime.milliseconds = GetTimeInMillis();
 | 
					    systime.milliseconds = GetTimeInMillis();
 | 
				
			||||||
    if (systime.milliseconds < currentTime.milliseconds)
 | 
					    if (systime.milliseconds < currentTime.milliseconds)
 | 
				
			||||||
        systime.months++;
 | 
					        systime.months++;
 | 
				
			||||||
    if (*checkForInput[0] == *checkForInput[1])
 | 
					    if (CompareTimeStamps(systime, currentTime) == LATER)
 | 
				
			||||||
        currentTime = systime;
 | 
					        currentTime = systime;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue