зеркало из https://github.com/mozilla/pjs.git
Followup, Bug 366337 - forgot to remove XXX comment. Sorry.
r=emaijala@kolumbus.fi (Ere Maijala) sr=neil@parkwaycc.co.uk (Neil Rashbrook)
This commit is contained in:
Родитель
644ab6aebe
Коммит
a6d921a7e7
|
@ -51,7 +51,7 @@ nsIdleServiceWin::GetIdleTime(PRUint32 *aTimeDiff)
|
|||
inputInfo.cbSize = sizeof(inputInfo);
|
||||
if (!::GetLastInputInfo(&inputInfo))
|
||||
return NS_ERROR_FAILURE;
|
||||
//XXXgijs: this might break after 49.7 days, see MSDN docs for GetTickCount.
|
||||
|
||||
*aTimeDiff = GetTickCount() - inputInfo.dwTime;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче