fix formatting

This commit is contained in:
Georg Krause 2018-03-31 20:37:48 +02:00
parent fe77d3ca63
commit 31a6de2b27

View file

@ -170,8 +170,7 @@ static void gmastertrack_button_callback(Fl_Widget *w, void *data)
} else if ( strcmp( w->label(), "Tap" ) == 0 ) { } else if ( strcmp( w->label(), "Tap" ) == 0 ) {
if ( Fl::event_button() == FL_RIGHT_MOUSE ) { if ( Fl::event_button() == FL_RIGHT_MOUSE ) {
string question = "Enter BPM value (between " + to_string(MIN_TEMPO) + " and " string question = "Enter BPM value (between " + to_string(MIN_TEMPO) + " and " + to_string(MAX_TEMPO) + "):";
+ to_string(MAX_TEMPO) + "):";
const char* answer = fl_input(question.c_str()); const char* answer = fl_input(question.c_str());
if(answer) { if(answer) {
int bpm = atoi(answer); int bpm = atoi(answer);