bug #78658: checking in Chris Seawoods trivial fix to prevent writing to the console in optimized builds, sr=scc (myself)
git-svn-id: svn://10.0.0.236/trunk@94159 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1363,10 +1363,11 @@ NS_COM int fputs(const nsCString& aString, FILE* out)
|
||||
* @update gess 11/15/99
|
||||
*/
|
||||
void nsCString::DebugDump(void) const {
|
||||
|
||||
#ifdef DEBUG
|
||||
if(mStr && (eOneByte==mCharSize)) {
|
||||
printf("\n%s",mStr);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user