From 94eac03ca1f22b08a446f4c159e73b2a62b8618e Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 13 Jul 2017 01:36:34 +0200 Subject: [PATCH] Fix notification display of volume Floating point is not useful here. --- src/notif.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notif.rs b/src/notif.rs index 4ab44fce9..8a2a41032 100644 --- a/src/notif.rs +++ b/src/notif.rs @@ -99,7 +99,7 @@ impl Notif { audio.acard .borrow() .chan_name()?, - vol) + vol as i32) } } };