Merge pull request #1299 from michaelsproul/uninitialised-mem

Initialise _firstLoadRequest to prevent jumps from depending on uninitialised memory.
This commit is contained in:
telegramdesktop 2015-11-16 18:21:36 +03:00
commit 0ba705bede
1 changed files with 1 additions and 1 deletions

View File

@ -2357,7 +2357,7 @@ HistoryWidget::HistoryWidget(QWidget *parent) : TWidget(parent)
, _showAtMsgId(0)
, _fixedInScrollMsgId(0)
, _fixedInScrollMsgTop(0)
, _preloadRequest(0), _preloadDownRequest(0)
, _firstLoadRequest(0), _preloadRequest(0), _preloadDownRequest(0)
, _delayedShowAtMsgId(-1)
, _delayedShowAtRequest(0)
, _activeAnimMsgId(0)