From: werner s. <wsc...@us...> - 2005-12-18 14:10:04
|
Update of /cvsroot/lmuse/muse/synti/fluidsynth In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30779/synti/fluidsynth Modified Files: fluidsynti.cpp Log Message: fix synti restore Index: fluidsynti.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/synti/fluidsynth/fluidsynti.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** fluidsynti.cpp 4 Nov 2005 12:04:07 -0000 1.27 --- fluidsynti.cpp 18 Dec 2005 14:09:54 -0000 1.28 *************** *** 376,379 **** --- 376,381 ---- bool FluidSynth::sysex(int n, const unsigned char* d) { + if (n == 0 || d == 0) + return false; switch(*d) { case FS_LASTDIR_CHANGE: { |