[midisnoop] push by surfacep...@gmail.com - Add byte count at the end of generic byte messages. on 2012-12-31 16:47 GMT

2 views
Skip to first unread message

midi...@googlecode.com

unread,
Dec 31, 2012, 11:48:11 AM12/31/12
to midisnoop-...@googlegroups.com
Revision: e749f010d3d8
Author: Devin Anderson <surface...@gmail.com>
Date: Mon Dec 31 08:47:48 2012
Log: Add byte count at the end of generic byte messages.

http://code.google.com/p/midisnoop/source/detail?r=e749f010d3d8

Modified:
/src/controller.cpp

=======================================
--- /src/controller.cpp Sun Dec 30 21:25:11 2012
+++ /src/controller.cpp Mon Dec 31 08:47:48 2012
@@ -175,6 +175,7 @@
dataParts += QString("%1").
arg(static_cast<uint>(message[i]), 2, 16, QChar('0'));
}
+ dataParts += tr("(%1 bytes)").arg(lastIndex);
return dataParts.join(" ");
}

Reply all
Reply to author
Forward
0 new messages