From 7ec8ca8eb8e562b469f98dfd4fe1de135fd54c2d Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Sun, 11 Jun 2000 16:28:53 +0000 Subject: [PATCH] fix singsign startup assertion in string class, r=morse git-svn-id: svn://10.0.0.236/trunk@72001 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/wallet/src/singsign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/wallet/src/singsign.cpp b/mozilla/extensions/wallet/src/singsign.cpp index 2ec56b7d857..5620b487ef5 100644 --- a/mozilla/extensions/wallet/src/singsign.cpp +++ b/mozilla/extensions/wallet/src/singsign.cpp @@ -548,7 +548,7 @@ Local_SACopy(char **destination, const char *source) { PRIVATE void si_StripLF(nsAutoString buffer) { PRUnichar c; - while ((c=buffer.CharAt(buffer.Length())-1) == '\n' || c == '\r' ) { + while ((c=buffer.CharAt(buffer.Length() - 1)) == '\n' || c == '\r' ) { buffer.SetLength(buffer.Length()-1); } }