wmusic: Fix volume display bug.

The black pixels which were copied to the right part of the volume slider
when the volume was decreased actually included a one-pixel-wide line of the
bright red indicating max volume.
This commit is contained in:
Doug Torrance 2018-06-22 16:21:03 -04:00 committed by Carlos R. Mafra
parent 4d7d5d7ee8
commit 988a0c0f20

View file

@ -635,7 +635,7 @@ void DrawVolume(void)
if (volume > 36) if (volume > 36)
volume = 36; volume = 36;
copyNumArea(61, 0, volume, 6, 7, 18); copyNumArea(61, 0, volume, 6, 7, 18);
copyNumArea(97, 0, 36-volume, 6, 7+volume, 18); copyNumArea(98, 0, 36-volume, 6, 7+volume, 18);
} }
void DrawKbps(int bps) void DrawKbps(int bps)