src/gui/widget/menue.cpp check if pointer is not NULL

Origin commit data
------------------
Branch: ni/coolstream
Commit: a29f433ded
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-17 (Wed, 17 Aug 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-08-17 17:23:08 +02:00
parent edfe7aa268
commit 59d3c49084

View File

@@ -1428,7 +1428,8 @@ void CMenuWidget::paintHint(int pos)
/* clear info box */
if ((info_box) && (pos < 0))
savescreen ? info_box->hide() : info_box->kill();
hint_painted = info_box->isPainted();
if (info_box)
hint_painted = info_box->isPainted();
}
if (pos < 0)
return;