Replace the empty character with '.' instead of '-' for readability.
This commit is contained in:
parent
dc99db3efe
commit
c34e862890
10
src/main.cpp
10
src/main.cpp
|
@ -289,13 +289,13 @@ void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
|
||||||
int note = event.note - 1;
|
int note = event.note - 1;
|
||||||
wprintw(win, "%s%d ", note_name[note % 12], note / 12);
|
wprintw(win, "%s%d ", note_name[note % 12], note / 12);
|
||||||
} else {
|
} else {
|
||||||
wprintw(win, "--- ");
|
wprintw(win, "... ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.ins > 0) {
|
if (event.ins > 0) {
|
||||||
wprintw(win, "%02X", event.ins);
|
wprintw(win, "%02X", event.ins);
|
||||||
} else {
|
} else {
|
||||||
wprintw(win, "--");
|
wprintw(win, "..");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detail >= 3) {
|
if (detail >= 3) {
|
||||||
|
@ -320,7 +320,7 @@ void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
|
||||||
char v = 'v';
|
char v = 'v';
|
||||||
wprintw(win, " %c%02i", v, vol);
|
wprintw(win, " %c%02i", v, vol);
|
||||||
} else {
|
} else {
|
||||||
wprintw(win, " ---");
|
wprintw(win, " ...");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detail >= 4) {
|
if (detail >= 4) {
|
||||||
|
@ -328,14 +328,14 @@ void renderRows(WINDOW* win, xmp_module_info *mi, xmp_frame_info *fi) {
|
||||||
if ((f1 = getEffectType(event.fxt)) != 0)
|
if ((f1 = getEffectType(event.fxt)) != 0)
|
||||||
wprintw(win, " %c%02X", f1, event.fxp);
|
wprintw(win, " %c%02X", f1, event.fxp);
|
||||||
else
|
else
|
||||||
wprintw(win, " ---");
|
wprintw(win, " ...");
|
||||||
|
|
||||||
if (detail >= 5) {
|
if (detail >= 5) {
|
||||||
char f2;
|
char f2;
|
||||||
if ((f2 = getEffectType(event.fxt)) != 0)
|
if ((f2 = getEffectType(event.fxt)) != 0)
|
||||||
wprintw(win, " %c%02X", f2, event.f2p);
|
wprintw(win, " %c%02X", f2, event.f2p);
|
||||||
else
|
else
|
||||||
wprintw(win, " ---");
|
wprintw(win, " ...");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user