fix build

Origin commit data
------------------
Branch: ni/coolstream
Commit: df6bc99337
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-02 (Mon, 02 Oct 2017)

Origin message was:
------------------
- fix build

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-02 23:55:51 +02:00
parent 463700033b
commit 14f45c39b2
6 changed files with 24 additions and 24 deletions

View File

@@ -2573,8 +2573,8 @@ void CInfoViewer::ecmInfoBox_show(const char * txt, int w, int h, Font * font)
//set new window dimensions
int h_offset = 5;
int w_offset = 10;
ecmInfoBox->setWidth(min(max_w, w + 2*w_offset));
ecmInfoBox->setHeight(min(max_h, h_header + h + 2*h_offset));
ecmInfoBox->setWidth(std::min(max_w, w + 2*w_offset));
ecmInfoBox->setHeight(std::min(max_h, h_header + h + 2*h_offset));
ecmInfoBox->Refresh();
//calc window position