Bug 223697 nsMenuPopupFrame.cpp:1142:9: warning: multi-line comment

r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@148506 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2003-10-30 02:09:52 +00:00
parent 69290f94cc
commit b18f127cb7

View File

@ -1129,21 +1129,21 @@ nsMenuPopupFrame::SyncViewWithFrame(nsIPresContext* aPresContext,
}
else {
// move it up to be on screen, but don't let it go off the screen at the top
// |
// |
// |+---- screenViewLocY
// ||
// || Submenu ( = mRect )
// -+|
// |
// |
// - - - - - - - - - - screenBottomTwips (bottom of the screen)
// | \
// | } moveDistY
// | /
// +---- screenViewLocY + mRect.height
//
/*
* |
* |
* |+---- screenViewLocY
* ||
* || Submenu ( = mRect )
* -+|
* |
* |
* - - - - - - - - - - screenBottomTwips (bottom of the screen)
* | \
* | } moveDistY
* | /
* +---- screenViewLocY + mRect.height
*/
if ( (screenViewLocY + mRect.height) > screenBottomTwips ) {
// XXX Bug 84121 comment 48 says the next line has to use screenHeightTwips, why not screenBottomTwips?