From 8a4be38909a6f8da19b8ea176e2da5bc96d11607 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 23 Jan 2004 11:04:05 +0000 Subject: minor fix --- src/FbWinFrame.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 5dcd64a..c4b7150 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.73 2004/01/23 10:37:01 rathnor Exp $ +// $Id: FbWinFrame.cc,v 1.74 2004/01/23 11:04:05 fluxgen Exp $ #include "FbWinFrame.hh" @@ -439,7 +439,7 @@ bool FbWinFrame::hideHandle() { m_use_handle = false; if (static_cast(m_window.height() - m_handle.height() - - m_handle.borderWidth())) { + m_handle.borderWidth()) <= 0) { m_window.resize(m_window.width(), 1); } else { // only take away one borderwidth (as the other border is still the "top" border) -- cgit v0.11.2