diff --git a/sequencer/src/instrument.C b/sequencer/src/instrument.C index d906b9d..ef14f24 100644 --- a/sequencer/src/instrument.C +++ b/sequencer/src/instrument.C @@ -160,7 +160,7 @@ Instrument::read ( const char *s ) if ( ! ( fp = fopen( pat, "r" ) ) ) { - sprintf( pat, "%s%s.inst", SYSTEM_PATH INSTRUMENT_DIR, s ); + sprintf( pat, "%s/%s/%s.inst", SYSTEM_PATH, INSTRUMENT_DIR, s ); if ( ! ( fp = fopen( pat, "r" ) ) ) return false; @@ -291,7 +291,7 @@ get_listing( const char *dir ) char ** Instrument::listing ( void ) { - list *sys = get_listing( SYSTEM_PATH INSTRUMENT_DIR ); + list *sys = get_listing( SYSTEM_PATH "/" INSTRUMENT_DIR ); list *usr = get_listing( config.user_config_dir ); if ( ! ( usr || sys ) )