summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index c4076a4..22d1a14 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -780,7 +780,7 @@ do_sound_action (MsdMediaKeysManager *manager,
}
update_dialog (manager,
- CLAMP (100 * volume / (volume_max - volume_min), 0, 100),
+ MIN (100 * volume / (volume_max - volume_min), 100),
muted,
sound_changed,
quiet,