pkgsrc/audio/gmodplay/patches/patch-aa
wiz 553a77cbe9 Initial import of gmodplay, based on a package provided by Ben Collver
in pkg/12071:
Module player for IT, XM, S3M, MOD, MTM, STM, FAR, ULT, 669, AMS, DBM,
MDL and OKT modules (on little endian machines only, for now :( ),
based on modplug source code.
2001-03-19 19:35:51 +00:00

25 lines
703 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2001/03/19 19:35:51 wiz Exp $
--- cmdline/cmdline.cpp.orig Sat Oct 3 04:29:20 1998
+++ cmdline/cmdline.cpp Sun Jan 28 14:00:33 2001
@@ -213,7 +213,7 @@
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 +415,11 @@
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 '<':