summaryrefslogtreecommitdiff
path: root/displaychannelview.c
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-05-03 13:33:40 +0200
committerkamel5 <kamel5 (at) gmx (dot) net>2018-05-03 13:33:40 +0200
commit0ae15aebbf31c52fd676e1d68ee45402b857750d (patch)
tree8b08cb4b3a2324f7e0e59b1ebea7ad5ecc21afda /displaychannelview.c
parentf593ad572046998285e01ee0f5f767f88e25a94a (diff)
downloadskin-nopacity-0ae15aebbf31c52fd676e1d68ee45402b857750d.tar.gz
skin-nopacity-0ae15aebbf31c52fd676e1d68ee45402b857750d.tar.bz2
Use std::max and std::min
Diffstat (limited to 'displaychannelview.c')
-rw-r--r--displaychannelview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannelview.c b/displaychannelview.c
index c4e8ddc..a910491 100644
--- a/displaychannelview.c
+++ b/displaychannelview.c
@@ -627,7 +627,7 @@ void cNopacityDisplayChannelView::DrawSignalMeter(void) {
signalHeight = imgSignal->Height();
int signalMeterY = geoManager->channelFooterY +
(geoManager->channelFooterHeight - 2*signalHeight - 5)/2;
- int labelWidth = max(fontInfoline->Width(*signalStrength),
+ int labelWidth = std::max(fontInfoline->Width(*signalStrength),
fontInfoline->Width(*signalQuality)) + 2;
signalX = geoManager->channelFooterHeight / 2 + labelWidth;
pixmapSignalStrength = osd->CreatePixmap(3,