From 6ba976d9f8397c7c06142f94253ca1cfd6115b23 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 24 Feb 2010 14:06:40 +0000 Subject: [PATCH] Added TODO about broken size limits computation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35598 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/terminal/TermWindow.cpp b/src/apps/terminal/TermWindow.cpp index c4ab77a6a7..3c42781d0d 100644 --- a/src/apps/terminal/TermWindow.cpp +++ b/src/apps/terminal/TermWindow.cpp @@ -818,6 +818,8 @@ TermWindow::_AddTab(Arguments *args) SetSizeLimits(MIN_COLS * width - 1, MAX_COLS * width - 1, minimumHeight + MIN_ROWS * height - 1, minimumHeight + MAX_ROWS * height - 1); + // TODO: The size limit computation is apparently broken, since + // the terminal can be resized smaller than MIN_ROWS/MIN_COLS! // If it's the first time we're called, setup the window if (fTabView->CountTabs() == 1) {