From 8b5dfddea9b2305466ea6fb82ff2d0644b055b2a Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 10 May 2000 08:54:48 +0000 Subject: [PATCH] bug 38709, preview editor can hang browser git-svn-id: svn://10.0.0.236/trunk@69032 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/wallet/src/wallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/extensions/wallet/src/wallet.cpp b/mozilla/extensions/wallet/src/wallet.cpp index 456218b0785..312a4c6bae3 100644 --- a/mozilla/extensions/wallet/src/wallet.cpp +++ b/mozilla/extensions/wallet/src/wallet.cpp @@ -1883,8 +1883,10 @@ PRInt32 FieldToValue( } else { /* value not found, see if concatenation rule exists */ nsVoidArray * itemList2; - nsAutoString dummy2; + if (index > 0) { + index = 0; + } if (wallet_ReadFromList(schema, dummy2, itemList2, wallet_SchemaConcat_list, PR_FALSE)) { /* concatenation rules exist, generate value as a concatenation */ wallet_Sublist * ptr1;