projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3a96684
)
endless_loop--
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 14 Jun 2008 00:11:55 +0000
(
02:11
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 2 Aug 2008 13:17:09 +0000
(15:17 +0200)
src/qtui/chatitem.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
568cdcc
..
6bf77a4
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-79,7
+79,7
@@
int ChatItem::heightForWidth(int width) {
if(wrapList.at(i+1).toUInt() - offset < width) continue;
lines++;
if(i > 0) {
- if(offset
!=
wrapList.at(i-1).toUInt()) offset = wrapList.at(i-1).toUInt();
+ if(offset
<
wrapList.at(i-1).toUInt()) offset = wrapList.at(i-1).toUInt();
else offset += width;
} else {
offset += width;