mciseq: Constify a variable.
This commit is contained in:
parent
2d7c74f42a
commit
d076f55e81
|
@ -1044,8 +1044,8 @@ static DWORD MIDI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms)
|
|||
if (TRACE_ON(mcimidi)) {
|
||||
char buf[1024];
|
||||
WORD len = mmt->wEventLength - HIWORD(mmt->dwEventData);
|
||||
static const char* info[8] = {"", "Text", "Copyright", "Seq/Trk name",
|
||||
"Instrument", "Lyric", "Marker", "Cue-point"};
|
||||
static const char* const info[8] = {"", "Text", "Copyright", "Seq/Trk name",
|
||||
"Instrument", "Lyric", "Marker", "Cue-point"};
|
||||
WORD idx = HIBYTE(LOWORD(mmt->dwEventData));
|
||||
|
||||
if (len >= sizeof(buf)) {
|
||||
|
|
Loading…
Reference in New Issue