A few more RtError updates in documentation and .dsp files.

This commit is contained in:
Gary Scavone
2014-04-11 09:52:02 -04:00
parent a239b58651
commit a9a654862f
6 changed files with 6 additions and 19 deletions

View File

@@ -212,7 +212,7 @@ int main( int argc,char *argv[] )
try {
midiin = new RtMidiIn();
}
catch (RtError &error) {
catch (RtMidiError &error) {
error.printMessage();
if ( file != NULL ) fclose( file );
exit(EXIT_FAILURE);
@@ -233,7 +233,7 @@ int main( int argc,char *argv[] )
try {
midiin->openPort( port );
}
catch (RtError &error) {
catch (RtMidiError &error) {
error.printMessage();
goto cleanup;
}