From 0eb842dfa864ba2de5f9fcaab9e405394c8899ce Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Wed, 1 Mar 2006 00:38:15 +0000 Subject: [PATCH] Backing out patch for bug 328755 due to crash regression bug 328842. r=darin. git-svn-id: svn://10.0.0.236/trunk@191450 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/string/src/nsTSubstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/string/src/nsTSubstring.cpp b/mozilla/xpcom/string/src/nsTSubstring.cpp index 20046c57f45..2f3cbe06cf7 100644 --- a/mozilla/xpcom/string/src/nsTSubstring.cpp +++ b/mozilla/xpcom/string/src/nsTSubstring.cpp @@ -299,7 +299,7 @@ void nsTSubstring_CharT::Assign( const char_type* data, size_type length ) { // unfortunately, some callers pass null :-( - if (!data || length == 0) + if (!data) { Truncate(); return;