Bug#141702: playmidi: skipped lirycs in playmidi -r
tags 141702 patch
thanks
Hi,
Now playmidi will only skeep repeated lines on metadata
type 3 (Sequence/Track Name text). To be consistent with
the GUI implementations, the skipping code should be removed,
but due to the limited space on terminals it may be a bad idea.
kind regards,
guillem
diff -Nurd playmidi-2.4/io_ncurses.c playmidi-2.4-patched/io_ncurses.c
--- playmidi-2.4/io_ncurses.c Thu Jul 18 20:58:10 2002
+++ playmidi-2.4-patched/io_ncurses.c Thu Jul 18 22:33:16 2002
@@ -161,7 +161,7 @@
if (cmd < 8 && cmd > 0) {
if (length > COLS)
length = COLS;
- if (cmd != 1 && strncmp(textbuf, data, length - 1) == 0)
+ if (cmd == 3 && strncmp(textbuf, data, length - 1) == 0)
return; /* ignore repeat messages, "WinJammer Demo" etc. */
if (verbose) {
printf("%s: ", metatype[cmd - 1]);
--
To UNSUBSCRIBE, email to debian-qa-packages-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: