Added TODO about broken size limits computation.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-02-24 14:06:40 +00:00
parent 3fa02e15e7
commit 6ba976d9f8
+2
View File
@@ -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) {