Update of /cvsroot/pure-data/externals/footils/fluid/fluid In directory sc8-pr-cvs1:/tmp/cvs-serv25967/fluid
Modified Files: main.cpp Log Message:
check success of fluid_synth_sfload more correctly.
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/footils/fluid/fluid/main.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** main.cpp 17 Sep 2003 08:15:16 -0000 1.3 --- main.cpp 10 Dec 2003 12:37:30 -0000 1.4 *************** *** 157,161 **** { const char* filename = GetString(argv[0]); ! if ( fluid_synth_sfload(synth, filename, 0) == 0) { post("Loaded Soundfont: %s", filename); --- 157,161 ---- { const char* filename = GetString(argv[0]); ! if ( fluid_synth_sfload(synth, filename, 0) >= 0) { post("Loaded Soundfont: %s", filename);