mciseq: Constify a variable

Andrew Talbot Andrew.Talbot at talbotville.com
Fri Feb 16 10:40:58 CST 2007


Changelog:
    mciseq: Constify a variable.

diff -urN a/dlls/mciseq/mcimidi.c b/dlls/mciseq/mcimidi.c
--- a/dlls/mciseq/mcimidi.c	2006-11-07 17:36:35.000000000 +0000
+++ b/dlls/mciseq/mcimidi.c	2007-02-16 16:08:10.000000000 +0000
@@ -1044,8 +1044,8 @@
 		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-patches mailing list