From: Jean-Marc Lasgouttes Date: Mon, 17 Dec 2018 11:28:32 +0000 (+0100) Subject: Fix embarrassing typo X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cb6675e2c762f005ed8ab1f8487b5b5b34b8bd09;p=features.git Fix embarrassing typo Not clear whether this caused any bug. --- diff --git a/src/Dimension.h b/src/Dimension.h index 0607be6eba..0f7fdabcef 100644 --- a/src/Dimension.h +++ b/src/Dimension.h @@ -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