From 6b30a5ce4b26fbb8327b14b80015e6ad26a34c1c 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 --- extensions/wallet/src/singsign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/wallet/src/singsign.cpp b/extensions/wallet/src/singsign.cpp index 2ec56b7d8574..5620b487ef5a 100644 --- a/extensions/wallet/src/singsign.cpp +++ b/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); } }