From a2f40beb95d08eb9e1d81f18ba786f059c1bd732 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 14 Dec 2021 04:55:10 +0300
Subject: [PATCH] timidity, readmidi.c: minor fix to a debug proc.
---
src/codecs/timidity/readmidi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/codecs/timidity/readmidi.c b/src/codecs/timidity/readmidi.c
index 83018819..18e5f4e1 100644
--- a/src/codecs/timidity/readmidi.c
+++ b/src/codecs/timidity/readmidi.c
@@ -55,7 +55,7 @@ static int dumpstring(SDL_RWops *rw, Sint32 len, Uint8 type)
signed char *s = SDL_malloc(len+1);
if (!s)
{
- SDL_RWseek(song->rw, len, RW_SEEK_CUR);/* should I ? */
+ SDL_RWseek(rw, len, RW_SEEK_CUR);/* should I ? */
return -1;
}
if (len != (Sint32) SDL_RWread(rw, s, 1, len))
@@ -119,7 +119,7 @@ static MidiEventList *read_midi_event(MidiSong *song)
len=getvl(song->rw);
if (type>0 && type<16)
{
- /*dumpstring(song->rw, len, type);*/ /* see above */
+ /*dumpstring(song->rw, len, type);*/ /* see above */
SDL_RWseek(song->rw, len, RW_SEEK_CUR);
}
else