diff options
| author | 2011-08-13 10:59:18 +0000 | |
|---|---|---|
| committer | 2011-08-13 10:59:18 +0000 | |
| commit | fa34ab8e3e8a38b8de9eae0171b5bbd0407772f2 (patch) | |
| tree | a0f959783e3075ab4ef19c19b9dbb1afb4259e35 | |
| parent | some work on #110 (correct the left margin for wrapped lines in ircview) (diff) | |
| download | KVIrc-fa34ab8e3e8a38b8de9eae0171b5bbd0407772f2.tar.gz KVIrc-fa34ab8e3e8a38b8de9eae0171b5bbd0407772f2.tar.bz2 KVIrc-fa34ab8e3e8a38b8de9eae0171b5bbd0407772f2.zip | |
workaround for the second issue of #110 (wordwrap of a long line of text with no spaces in it). Supposed to be safe, please report if it's breaking something else for you
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5926 17fca916-40b9-46aa-a4ea-0a15b648b75c
| -rw-r--r-- | src/kvirc/ui/KviIrcView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvirc/ui/KviIrcView.cpp b/src/kvirc/ui/KviIrcView.cpp index fc84382f8..2c2c21fb0 100644 --- a/src/kvirc/ui/KviIrcView.cpp +++ b/src/kvirc/ui/KviIrcView.cpp @@ -1697,7 +1697,7 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth) curLineWidth -= IRCVIEW_WCHARWIDTH(*p); } - if(curBlockLen == 0) + if(curBlockLen < 3) { // ran up to the beginning of the block.... if(ptr->pChunks[curAttrBlock].type == KviControlCodes::Icon) |
