fix crash in linux

This commit is contained in:
Glenn Maynard
2005-09-08 07:04:39 +00:00
parent 0cdc96abd6
commit 424205f5a3
+1 -1
View File
@@ -156,7 +156,7 @@ int RageFileObj::Read( CString &sBuffer, int iBytes )
iRet += iGot;
}
sBuffer.erase( sBuffer.begin()+iRet );
sBuffer.erase( sBuffer.begin()+iRet, sBuffer.end() );
return iRet;
}