[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konsole/konsole
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-02-29 22:08:27
Message-ID: 20040229220827.75F9C993A () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Fix crash if lines in history are wider than current screen width. (BR75587)
M +5 -1 TEScreen.cpp 1.80
--- kdebase/konsole/konsole/TEScreen.cpp #1.79:1.80
@@ -1217,4 +1217,6 @@ QString TEScreen::getSelText(const bool
hX = sel_Left % columns;
eol = hist->getLineLen(hY);
+ if (eol > columns)
+ eol = columns;
if ((hY == (sel_BR / columns)) &&
(eol > (sel_BR % columns)))
@@ -1262,4 +1264,6 @@ QString TEScreen::getSelText(const bool
{ // get lines from hist->history buffer.
eol = hist->getLineLen(hY);
+ if (eol > columns)
+ eol = columns;
if ((hY == (sel_BR / columns)) &&
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic