[Konsole-devel] [Bug 100308] Selecting the whole screen using the Ctrl+Alt keys lets Konsole crash

Waldo Bastian bastian at kde.org
Sat Feb 26 17:32:44 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=100308         
bastian kde org changed:

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



------- Additional Comments From bastian kde org  2005-02-26 18:32 -------
CVS commit by waba: 

Don't crash when selecting full line with Ctrl+Alt
BUG: 100308


  M +5 -0      TEScreen.cpp   1.88


--- kdebase/konsole/konsole/TEScreen.cpp  #1.87:1.88
 @ -1323,4 +1323,9  @ void TEScreen::getSelText(bool preserve_
             newlineneeded = true;
           }
+          if (((s - hist_BR) % columns == 0) && newlineneeded)
+          {
+            LINE_END;
+            newlineneeded = false;
+          }
         }
         else {



More information about the konsole-devel mailing list