Closed
Bug 55080
Opened 25 years ago
Closed 25 years ago
nsMenu::AttributeChanged fails to return a value
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: sfraser_bugs, Assigned: saari)
Details
(Keywords: helpwanted, Whiteboard: [rtm++])
When nsMenu::AttributeChanged bails with the test
if((mMacMenuID <= 5) && (mMacMenuID >= 2))
it fails to return a value. Here's the fix:
Index: mozilla/widget/src/mac/nsMenu.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/mac/nsMenu.cpp,v
retrieving revision 1.85
diff -b -c -2 -r1.85 nsMenu.cpp
*** nsMenu.cpp 2000/09/22 06:03:08 1.85
--- nsMenu.cpp 2000/10/03 19:42:00
***************
*** 1487,1491 ****
if((mMacMenuID <= 5) && (mMacMenuID >= 2))
! return;
::DeleteMenu(mMacMenuID);
--- 1487,1491 ----
if((mMacMenuID <= 5) && (mMacMenuID >= 2))
! return NS_OK;
::DeleteMenu(mMacMenuID);
| Reporter | ||
Comment 1•25 years ago
|
||
Nominate for RTM. Trivial fix, could fix some unknown menu handling errors.
Keywords: rtm
Whiteboard: fix in hand
Comment 3•25 years ago
|
||
rtm-, helpwanted, future
| Reporter | ||
Comment 4•25 years ago
|
||
Huh? this is such a trivial change, all I need is sr=saari, and it's in.
| Assignee | ||
Comment 5•25 years ago
|
||
The change is fine with me, I'm just not allowed to check it in <shrug> Don't
kill me, I didn't make the rules.
| Reporter | ||
Comment 6•25 years ago
|
||
saari: put a sr= here, and we'll try again.
| Assignee | ||
Comment 7•25 years ago
|
||
yeah, sr=saari
Comment 9•25 years ago
|
||
Changing to rtm double plus.
Don't these items show up in warnings... or are we overloaded on that front
these days?
Whiteboard: [rtm++]
| Reporter | ||
Comment 10•25 years ago
|
||
Fix checked in on trunk and branch.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 11•25 years ago
|
||
Yes, this did show up as a warning.
Comment 12•25 years ago
|
||
verified fixed on branch and trunk by virtue of my friend, Bonsai.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•