From 60916b506a5a87f9c19d64b094a55e1c0d46c560 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 4 Dec 2003 04:35:06 +0000 Subject: [PATCH] update --- stepmania/src/arch/MovieTexture/MovieTexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture.cpp b/stepmania/src/arch/MovieTexture/MovieTexture.cpp index 6a3689d5c9..db4099191b 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture.cpp @@ -43,7 +43,7 @@ bool RageMovieTexture::GetFourCC( CString fn, CString &handler, CString &type ) if (!file.IsOpen()) HANDLE_ERROR("Could not open file."); - if (!file.Seek(0x70, SEEK_SET)) + if ( !file.Seek(0x70) ) HANDLE_ERROR("Could not seek."); type = " "; if (file.Read((char *)type.c_str(), 4) != 4) @@ -51,7 +51,7 @@ bool RageMovieTexture::GetFourCC( CString fn, CString &handler, CString &type ) for (i=0; i<4; ++i) if (type[i] < 0x20 || type[i] > 0x7E) type[i] = '?'; - if (!file.Seek(0xBC, SEEK_SET)) + if ( !file.Seek(0xBC) ) HANDLE_ERROR("Could not seek."); handler = " "; if (file.Read((char *)handler.c_str(), 4) != 4)