diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-05-03 06:44:48 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-05-03 06:44:48 +0000 |
commit | 9a3ab27e4f019f9bf2333c96ae1f1efbcbaf66ad (patch) | |
tree | eec8ec643ef0c44671f926f25a1d92e72f6f1376 /audio/soundtracker/files/patch-app__track-editor.c | |
parent | Remove a leftover directory. (diff) |
- Update to 0.6.8
PR: ports/94490
Submitted by: KATO Tsuguru
Diffstat (limited to 'audio/soundtracker/files/patch-app__track-editor.c')
-rw-r--r-- | audio/soundtracker/files/patch-app__track-editor.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/soundtracker/files/patch-app__track-editor.c b/audio/soundtracker/files/patch-app__track-editor.c new file mode 100644 index 000000000000..c2f5ed22afd7 --- /dev/null +++ b/audio/soundtracker/files/patch-app__track-editor.c @@ -0,0 +1,29 @@ +--- app/track-editor.c.orig Sat Feb 25 21:30:54 2006 ++++ app/track-editor.c Sun Feb 26 13:08:32 2006 +@@ -603,6 +603,8 @@ + } + + if(!GUI_ENABLED && !ASYNCEDIT) { // Recording mode ++ XMNote *note; ++ + if(pressed){ // Insert note + + for(c = 0; c < 32; c++){ // Cleanup +@@ -624,7 +626,7 @@ + reckey[c].chn = t->cursor_ch; + reckey[c].act = TRUE; + +- XMNote *note = &t->curpattern->channels[t->cursor_ch][t->patpos]; ++ note = &t->curpattern->channels[t->cursor_ch][t->patpos]; + note->note = i; + note->instrument = gui_get_current_instrument(); + tracker_redraw_current_row(t); +@@ -645,7 +647,7 @@ + if (!insert_noteoff) + goto fin_note; + +- XMNote *note = &t->curpattern->channels[reckey[c].chn][t->patpos]; ++ note = &t->curpattern->channels[reckey[c].chn][t->patpos]; + note->note = 97; + note->instrument = 0; + tracker_redraw_current_row(t); |