From e275e29fd8fa339124129c77185b663631b31ec8 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Sat, 4 Mar 2023 21:45:00 -0600 Subject: [PATCH] Fix Win-7 note positioning --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2a0e297..c30c559 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -380,7 +380,7 @@ void renderInstruments(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) { struct xmp_channel_info cinfo = fi->channel_info[c]; int note = (cinfo.note * (COLS - 7)) / 144; if (cinfo.instrument != y) continue; - wmove(win, y-insOffset, note); + wmove(win, y-insOffset, note+3); if (cinfo.volume >= 16) wprintw(win, "#"); else if (cinfo.volume > 0) wprintw(win, "-"); }