CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
+4 -4
View File
@@ -312,7 +312,7 @@ int RageFileObjDeflate::FlushInternal()
* Parse a .gz file, check the header CRC16 if present, and return the data
* CRC32 and a decompressor.
*/
RageFileBasic *GunzipFile( RageFileBasic &file, CString &sError, uint32_t *iCRC32 )
RageFileBasic *GunzipFile( RageFileBasic &file, RString &sError, uint32_t *iCRC32 )
{
sError = "";
@@ -511,7 +511,7 @@ int RageFileObjGzip::Finish()
#include "RageFileDriverMemory.h"
void GzipString( const CString &sIn, CString &sOut )
void GzipString( const RString &sIn, RString &sOut )
{
/* Gzip it. */
RageFileObjMem mem;
@@ -523,12 +523,12 @@ void GzipString( const CString &sIn, CString &sOut )
sOut = mem.GetString();
}
bool GunzipString( const CString &sIn, CString &sOut )
bool GunzipString( const RString &sIn, RString &sOut )
{
RageFileObjMem mem;
mem.PutString( sIn );
CString sError;
RString sError;
uint32_t iCRC32;
RageFileBasic *pFile = GunzipFile( mem, sError, &iCRC32 );
if( pFile == NULL )