summaryrefslogtreecommitdiff
path: root/engine.c
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2018-04-04 02:31:01 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2018-04-04 02:31:01 +0200
commit3bf644b734f288095b7190f22f850e8cfaaa885b (patch)
treea81d2711569d540a8be6e53a69a65f9067cdff21 /engine.c
parent2869d9ac16d4528ff59fe438c0f777275bec9544 (diff)
Don't display 2 octave split line unless requested
Diffstat (limited to 'engine.c')
-rw-r--r--engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine.c b/engine.c
index 2b6e261..aae652f 100644
--- a/engine.c
+++ b/engine.c
@@ -49,9 +49,9 @@ engine_redraw()
49 49
50 display_line_color(0, scale(g_min_y), MAX_X, scale(g_min_y), 0xff00ffff); 50 display_line_color(0, scale(g_min_y), MAX_X, scale(g_min_y), 0xff00ffff);
51 display_line_color(0, scale(g_max_y), MAX_X, scale(g_max_y), 0xff00ffff); 51 display_line_color(0, scale(g_max_y), MAX_X, scale(g_max_y), 0xff00ffff);
52 52#ifdef HAVE_TWO_OCTAVE_MODE
53 display_line_color(0, scale(g_min_y + g_midi_two_octave_split * height / 100), MAX_X, scale(g_min_y + g_midi_two_octave_split * height / 100), 0xffff00ff); 53 display_line_color(0, scale(g_min_y + g_midi_two_octave_split * height / 100), MAX_X, scale(g_min_y + g_midi_two_octave_split * height / 100), 0xffff00ff);
54 54#endif
55 display_line_color(0, scale(g_min_y + tos1 * height / 100), MAX_X, scale(g_min_y + tos1 * height / 100), 0x00ff00ff); 55 display_line_color(0, scale(g_min_y + tos1 * height / 100), MAX_X, scale(g_min_y + tos1 * height / 100), 0x00ff00ff);
56 display_line_color(0, scale(g_min_y + tos2 * height / 100), MAX_X, scale(g_min_y + tos2 * height / 100), 0x00ff00ff); 56 display_line_color(0, scale(g_min_y + tos2 * height / 100), MAX_X, scale(g_min_y + tos2 * height / 100), 0x00ff00ff);
57 57