From c2a67b6bb2e1d1646a6099889381701ef95ead5e Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Fri, 20 Aug 1999 04:47:56 +0000 Subject: [PATCH] fix char*/PRUnichar* problem --- xpinstall/src/nsInstall.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xpinstall/src/nsInstall.cpp b/xpinstall/src/nsInstall.cpp index 49ceaeb7f09..4ce83d76b64 100644 --- a/xpinstall/src/nsInstall.cpp +++ b/xpinstall/src/nsInstall.cpp @@ -714,10 +714,10 @@ nsInstall::FinalizeInstall(PRInt32* aReturn) if (ie == NULL) continue; - char *objString = ie->toString(); + PRUnichar *objString = ie->toString(); if (mNotifier) - mNotifier->FinalizeProgress(nsAutoString(objString).GetUnicode(), + mNotifier->FinalizeProgress(objString, i, mInstalledFiles->GetSize()); if (objString) @@ -1671,12 +1671,12 @@ nsInstall::ScheduleForInstall(nsInstallObject* ob) { PRInt32 error = nsInstall::SUCCESS; - char *objString = ob->toString(); + PRUnichar *objString = ob->toString(); // flash current item if (mNotifier) - mNotifier->ItemScheduled(nsAutoString(objString).GetUnicode()); + mNotifier->ItemScheduled(objString); // do any unpacking or other set-up