Andrew Talbot : mciseq: Constify a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 19 07:02:03 CST 2007
Module: wine
Branch: master
Commit: d076f55e8115b63fd898ed41164e0ee2437b5a92
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d076f55e8115b63fd898ed41164e0ee2437b5a92
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Fri Feb 16 16:40:58 2007 +0000
mciseq: Constify a variable.
---
dlls/mciseq/mcimidi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mciseq/mcimidi.c b/dlls/mciseq/mcimidi.c
index 5533814..2da1fda 100644
--- a/dlls/mciseq/mcimidi.c
+++ b/dlls/mciseq/mcimidi.c
@@ -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)) {
More information about the wine-cvs
mailing list