[AD] Small typo patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi,

This patch just adds a couple of required arguments to a function call.
I think this was changed when Eric was changing to ustrn-style
functions, and the call below just got missed.

--- /home/cvs/allegro/tools/pat2dat.c	Sat Aug  5 11:54:50 2000
+++ allegro/tools/pat2dat.c	Thu Jun 21 08:18:48 2001
@@ -798,7 +798,7 @@
       strcpy(file, get_filename(opt_configfile));
    }
    else {
-      if (!_digmid_find_patches(dir, file)) {
+      if (!_digmid_find_patches(dir, 256, file, 256)) {
 	 fprintf(stderr, "\nError: MIDI patch set not found!\n\n");
 	 fprintf(stderr, "You should have a directory containing a collection of GUS format .pat\n");
 	 fprintf(stderr, "files and a default.cfg index file, or a SoundFont 2 .sf2 sample bank.\n");
Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/