Closed Bug 289049 Opened 19 years ago Closed 19 years ago

ShowMessage called at wrong time

Categories

(Firefox :: Installer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox1.5

People

(Reporter: lvcipriani, Assigned: charles.fenwick)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2


In the file mozilla/toolkit/mozapps/installer/windows/wizard/setup/extra.c
there are two extra semicolons; one at line 2446:

  if(*sgProduct.greCleanupOrphansMessage != '\0');
    ShowMessage(sgProduct.greCleanupOrphansMessage, TRUE);

should be:

  if(*sgProduct.greCleanupOrphansMessage != '\0')
    ShowMessage(sgProduct.greCleanupOrphansMessage, TRUE);

----------------------------------------------------------------------

and another one at line 2592:

  if(*sgProduct.greCleanupOrphansMessage != '\0');
    ShowMessage(sgProduct.greCleanupOrphansMessage, FALSE);

should be:

  if(*sgProduct.greCleanupOrphansMessage != '\0')
    ShowMessage(sgProduct.greCleanupOrphansMessage, FALSE);


Reproducible: Always

Steps to Reproduce:
1. see source
2.
3.



Expected Results:  
see Details
Attached patch patchSplinter Review
Assignee: general → bugs
OS: All → Windows XP
Product: Mozilla Application Suite → Firefox
QA Contact: bugzilla → bugzilla
Comment on attachment 179646 [details] [diff] [review]
patch

r=me
Attachment #179646 - Flags: review+
Assignee: bugs → clf03f
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox1.1
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → installer
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: