1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.2 2003/07/22 19:34:31 jmmv Exp $
--- cmdline/cmdline.cpp.orig 1998-10-03 13:29:20.000000000 +0200
+++ cmdline/cmdline.cpp
@@ -10,6 +10,7 @@
#include <slang.h>
#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#include <signal.h>
#include <string.h>
@@ -213,7 +214,7 @@ InitTextMode(int argc, char **argv, Play
char *modfile;
_player = Player;
- Player->generic = new struct CmdInfo;
+ Player->generic = new CmdInfo;
CMD_INFO(Player)->first_visible_instrument = 0;
CMD_INFO(Player)->last_visible_instrument = 0;
@@ -415,9 +416,11 @@ InitTextMode(int argc, char **argv, Play
Player->repeat = !Player->repeat;
goto update_info;
case '+':
+ case 'e':
volume = VolumeCtrl(2, 2, &Player->mixer);
goto update_info;
case '-':
+ case 'w':
volume = VolumeCtrl(-2, -2, &Player->mixer);
goto update_info;
case '<':
|