(svn r17861) -Fix (r17860): max(uint, int) does not exist.
This commit is contained in:
@@ -340,7 +340,7 @@ struct RefitWindow : public Window {
|
||||
size->height = resize->height * 8;
|
||||
break;
|
||||
case VRW_INFOPANEL:
|
||||
size->height = max(size->height, WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM);
|
||||
size->height = max(size->height, (uint)(WD_FRAMERECT_TOP + 2 * FONT_HEIGHT_NORMAL + WD_FRAMERECT_BOTTOM));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user