[haiku-commits] r35598 - haiku/trunk/src/apps/terminal

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 24 Feb 2010 15:06:40 +0100 (CET)

Author: bonefish
Date: 2010-02-24 15:06:40 +0100 (Wed, 24 Feb 2010)
New Revision: 35598
Changeset: http://dev.haiku-os.org/changeset/35598/haiku

Modified:
   haiku/trunk/src/apps/terminal/TermWindow.cpp
Log:
Added TODO about broken size limits computation.


Modified: haiku/trunk/src/apps/terminal/TermWindow.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/TermWindow.cpp        2010-02-24 14:06:02 UTC 
(rev 35597)
+++ haiku/trunk/src/apps/terminal/TermWindow.cpp        2010-02-24 14:06:40 UTC 
(rev 35598)
@@ -818,6 +818,8 @@
                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) {


Other related posts: