# HG changeset patch
# User Chris Cannam
# Date 1290025278 0
# Node ID 5616a814c58b4ef6c75953a5baf42f5fdb9fc2ff
# Parent  7b1b333acf93b8a977ab875a5b21b6298c4cbae5
* Use more than one line of the commit log, if it fits

diff -r 7b1b333acf93 -r 5616a814c58b changesetitem.cpp
--- a/changesetitem.cpp	Wed Nov 17 20:21:00 2010 +0000
+++ b/changesetitem.cpp	Wed Nov 17 20:21:18 2010 +0000
@@ -110,11 +110,10 @@
     paint->setFont(f);
 
     QString comment = m_changeset->comment().trimmed();
-    comment = comment.replace("\\n", "\n");
+    comment = comment.replace("\\n", " ");
     comment = comment.replace(QRegExp("^\"\\s*\\**\\s*"), "");
     comment = comment.replace(QRegExp("\"$"), "");
     comment = comment.replace("\\\"", "\"");
-    comment = comment.split('\n')[0];
 
     wid = width - 5;
     int nlines = (height / fh) - 1;