From 10eb50d93e4c130e983e189b40201df8f2b2413a Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 3 Jul 2011 10:41:44 -0500 Subject: [PATCH] pedantic crap --- src/RageUtil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RageUtil.cpp b/src/RageUtil.cpp index 5f5b4e260a..b7eff99a24 100644 --- a/src/RageUtil.cpp +++ b/src/RageUtil.cpp @@ -1242,14 +1242,14 @@ bool GetFileContents( const RString &sPath, RString &sOut, bool bOneLine ) /* Don't warn if the file doesn't exist, but do warn if it exists and fails to open. */ if( !IsAFile(sPath) ) return false; - + RageFile file; if( !file.Open(sPath) ) { LOG->Warn( "GetFileContents(%s): %s", sPath.c_str(), file.GetError().c_str() ); return false; } - + RString sData; int iGot; if( bOneLine ) @@ -1265,7 +1265,7 @@ bool GetFileContents( const RString &sPath, RString &sOut, bool bOneLine ) if( bOneLine ) StripCrnl( sData ); - + sOut = sData; return true; }