Commit d076f55e authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mciseq: Constify a variable.

parent 2d7c74f4
...@@ -1044,8 +1044,8 @@ static DWORD MIDI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms) ...@@ -1044,8 +1044,8 @@ static DWORD MIDI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms)
if (TRACE_ON(mcimidi)) { if (TRACE_ON(mcimidi)) {
char buf[1024]; char buf[1024];
WORD len = mmt->wEventLength - HIWORD(mmt->dwEventData); WORD len = mmt->wEventLength - HIWORD(mmt->dwEventData);
static const char* info[8] = {"", "Text", "Copyright", "Seq/Trk name", static const char* const info[8] = {"", "Text", "Copyright", "Seq/Trk name",
"Instrument", "Lyric", "Marker", "Cue-point"}; "Instrument", "Lyric", "Marker", "Cue-point"};
WORD idx = HIBYTE(LOWORD(mmt->dwEventData)); WORD idx = HIBYTE(LOWORD(mmt->dwEventData));
if (len >= sizeof(buf)) { if (len >= sizeof(buf)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment