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

r=bz sr=bz
This commit is contained in:
timeless%mozdev.org 2003-10-30 02:09:52 +00:00
Родитель 8d41a79bf6
Коммит 83b50c6179
1 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -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?