From 620faed34831f3dff363eeca59a3f0e9b065fc30 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 1 Feb 2000 08:03:42 +0000 Subject: [PATCH] Fixing build breakage. --- extensions/wallet/src/nsBasicStreamGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/wallet/src/nsBasicStreamGenerator.cpp b/extensions/wallet/src/nsBasicStreamGenerator.cpp index ddc591b5acbe..f4afa1b449d1 100644 --- a/extensions/wallet/src/nsBasicStreamGenerator.cpp +++ b/extensions/wallet/src/nsBasicStreamGenerator.cpp @@ -69,7 +69,7 @@ NS_IMETHODIMP nsBasicStreamGenerator::GetByte(PRUint32 offset, PRUint8 *retval) { NS_ENSURE_ARG_POINTER(retval); nsresult rv = NS_OK; - if (!((const char *)mPassword)) + if (mPassword.Length() == 0) { // First time we need the password. Get it. if (!mPasswordSink) return NS_ERROR_FAILURE;