return NULL -> return CString() for clarity and efficiency

This commit is contained in:
Chris Danford
2005-09-04 16:55:21 +00:00
parent c414d1bcf8
commit 48ebc53549
55 changed files with 107 additions and 107 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ CString DSound::Init()
SetPrimaryBufferMode();
return "";
return CString();
}
DSound::~DSound()
@@ -292,7 +292,7 @@ CString DSoundBuf::Init( DSound &ds, DSoundBuf::hw hardware,
m_pTempBuffer = new char[m_iBufferSize];
return "";
return CString();
}
void DSoundBuf::SetSampleRate( int hz )