[Konsole-devel] [Bug 96605] History 'Number of Lines' - 1 is viewable

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Sun Jan 9 07:53:38 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=96605        
kurt.hindenburg kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kurt.hindenburg kdemail net  2005-01-09 08:53 -------
CVS commit by hindenburg: 

Correct # of history lines that are viewable.

BUG: 96605


  M +1 -1      TEHistory.cpp   1.28


--- kdebase/konsole/konsole/TEHistory.cpp  #1.27:1.28
 @ -231,5 +231,5  @ void HistoryScrollBuffer::addCells(ca a[
     }
 
-  if (m_nbLines < m_maxNbLines - 1) ++m_nbLines;
+  if (m_nbLines < m_maxNbLines) ++m_nbLines;
 
   // m_histBuffer.remove(m_arrayIndex); // not necessary



More information about the konsole-devel mailing list