about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-24 17:36:06 +0200
committerhut <hut@lavabit.com>2009-07-24 17:36:06 +0200
commit6a8040c820f377722bb2cf08af1fab56569aef4b (patch)
treebe74a8e5acf95f3a274f6a6d662e8997d9b39ac5
parent8a4d40021854be981914dc644367ab89c48e1cb6 (diff)
downloadranger-6a8040c820f377722bb2cf08af1fab56569aef4b.tar.gz
fixed volume keys
-rw-r--r--code/keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/keys.rb b/code/keys.rb
index 3784c7d0..14f1bb5d 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -390,7 +390,7 @@ module Fm
 			end
 
 		when "-", "="
-			val = "2#{key=='-' ? '-' : '+'}"
+			val = "2#{@buffer=='-' ? '-' : '+'}"
 			system("amixer", "-q", "set", "PCM", val, "unmute")
 
 		## }}}