fix build

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

Origin message was:
------------------
- fix build
This commit is contained in:
vanhofen
2017-10-02 23:55:51 +02:00
parent 583f45fad7
commit 5cd7e219d8
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