initialize member variables to 0

This commit is contained in:
pierre%netscape.com 1998-09-11 09:13:02 +00:00
parent 9938e484a0
commit 1971412a64
2 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,10 @@ struct nsReflowMetrics {
maxElementSize = aMaxElementSize;
posTopMargin = 0;
posBottomMargin = 0;
width = 0;
height = 0;
ascent = 0;
descent = 0;
}
};

View File

@ -79,6 +79,10 @@ struct nsReflowMetrics {
maxElementSize = aMaxElementSize;
posTopMargin = 0;
posBottomMargin = 0;
width = 0;
height = 0;
ascent = 0;
descent = 0;
}
};