zuke: do not change volume with delta == 0
This commit is contained in:
parent
8c6daa778a
commit
e8083eca17
1 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,8 @@ chvolume(int d)
|
|||
a[1] = a[0];
|
||||
l = ol = atoi(a[0]);
|
||||
r = or = atoi(a[1]);
|
||||
if(d == 0)
|
||||
break;
|
||||
for(;;){
|
||||
l += d;
|
||||
r += d;
|
||||
|
|
Loading…
Reference in a new issue