mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix embarrassing typo
Not clear whether this caused any bug.
(cherry picked from commit 058c6750ac
)
This commit is contained in:
parent
262b0dcca4
commit
833adc5c6b
@ -32,8 +32,8 @@ public:
|
||||
void operator+=(Dimension const & dim);
|
||||
/// set to empty box
|
||||
void clear() { wid = asc = des = 0; }
|
||||
/// check if box is empty
|
||||
bool empty() const { return wid == 0 && asc == 0 && wid == 0; }
|
||||
/// check whether box is empty
|
||||
bool empty() const { return wid == 0 && asc == 0 && des == 0; }
|
||||
/// get height
|
||||
int height() const { return asc + des; }
|
||||
/// get ascent
|
||||
|
Loading…
Reference in New Issue
Block a user