music_ogg.c
changeset 93 a25e6a225de8
parent 63 92b13db7d0a5
child 138 4d0dc6b4985d
     1.1 --- a/music_ogg.c	Sun Jun 10 04:48:15 2001 +0000
     1.2 +++ b/music_ogg.c	Sat Aug 18 11:13:57 2001 +0000
     1.3 @@ -77,7 +77,7 @@
     1.4  			return(NULL);
     1.5  		}
     1.6  	} else {
     1.7 -		SDL_OutOfMemory();
     1.8 +		SDL_SetError("Out of memory");
     1.9  	}
    1.10  	return(music);
    1.11  }
    1.12 @@ -133,7 +133,7 @@
    1.13  		music->len_available = music->cvt.len_cvt;
    1.14  		music->snd_available = music->cvt.buf;
    1.15  	} else {
    1.16 -		SDL_OutOfMemory();
    1.17 +		SDL_SetError("Out of memory");
    1.18  		music->playing = 0;
    1.19  	}
    1.20  }