--- teknocomposer/teknocomposer/MainWindow.cxx 2003-04-12 01:32:46.000000000 -0400 +++ teknocomposer.fix/teknocomposer/MainWindow.cxx 2003-04-15 12:02:48.000000000 -0400 @@ -30,6 +30,7 @@ #include "Dither.h" #include +#include "SoundDriver.h" #include "JackDriver.h" MainWindow *theMainWindow; @@ -4363,7 +4364,7 @@ void menuSetLoop(Fl_Widget * w, void * data) { - for(int i = theLoops->start_pos; i <= theLoop->end_pos; i++) + for(int i = theLoop->start_pos; i <= theLoop->end_pos; i++) theLoop->loop[i] = theLoop->cur_settings; } @@ -4515,7 +4516,7 @@ void menuSetCurPos(Fl_Widget * w, void * data) { - theLoops->loop[cur_pos] = theLoops->cur_settings; + theLoop->loop[theLoop->cur_pos] = theLoop->cur_settings; } void menuLoopPlaybackMode(Fl_Widget * w, void * data)