2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Closed beta 10019011: fixed build in Xcode, langs updated.

This commit is contained in:
John Preston
2016-12-04 22:40:41 +03:00
parent b0f14d1856
commit 3e6d483939
13 changed files with 65 additions and 52 deletions

View File

@@ -287,7 +287,7 @@ void MainWindow::checkAutoLock() {
App::app()->checkLocalTime();
auto ms = getms(true), idle = psIdleTime(), should = Global::AutoLock() * 1000LL;
if (idle >= should || (_shouldLockAt > 0 && ms > _shouldLockAt + 3000ULL)) {
if (idle >= should || (_shouldLockAt > 0 && ms > _shouldLockAt + 3000LL)) {
setupPasscode();
} else {
_shouldLockAt = ms + (should - idle);