From 83062aee55002106ab1943c6a269d9475d824b52 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 1 Jan 2003 21:21:44 +0000 Subject: [PATCH] fix crash --- stepmania/src/RageBitmapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index a41ef276e3..52888fb0ed 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -136,7 +136,7 @@ SDL_Surface *RageBitmapTexture::CreateImg(int &pixfmt) /* XXX: Wait, we don't want to throw for all images; in particular, we * want to tolerate corrupt/unknown background images. */ if(img == NULL) - RageException::Throw( "Couldn't load %s: %s", GetFilePath(), SDL_GetError() ); + RageException::Throw( "Couldn't load %s: %s", GetFilePath().GetString(), SDL_GetError() ); GLenum fmtTexture; /* Figure out which texture format to use. */