["Christian B. Wiik" <[EMAIL PROTECTED]>]
> Subject says it all. Happened this weekend in cvs.
>
> Running qt-3.0.3 on a RedHat 7.3 box

This is what I had to do to make it look good again:

Index: src/ewidgets.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/ewidgets.cpp,v
retrieving revision 1.62
diff -u -b -p -r1.62 ewidgets.cpp
--- src/ewidgets.cpp    10 Aug 2002 16:19:52 -0000      1.62
+++ src/ewidgets.cpp    12 Aug 2002 12:37:04 -0000
@@ -583,7 +583,7 @@ void CMessageViewWidget::addMsg(CUserEve
   const char *color = (e->Direction() == D_RECEIVER) ? "red" : "blue";
 
   // QTextEdit::append adds a paragraph break so we don't have to.
-  s.sprintf("<font color=\"%s\"><b>%s%s [%c%c%c%c] %s:</b></font>",
+  s.sprintf("<font color=\"%s\"><b>%s%s [%c%c%c%c] %s:</b><br></font>",
             color,
             e->SubCommand() == ICQ_CMDxSUB_MSG ? "" :
               (EventDescription(e) + " ").utf8().data(),
@@ -595,7 +595,7 @@ void CMessageViewWidget::addMsg(CUserEve
             contactName.utf8().data()
            );
   append(s);
-  s.sprintf("<font color=\"%s\">%s</font>",
+  s.sprintf("<font color=\"%s\">%s</font><br>",
             color,
             messageText.utf8().data()
            );


-- 
                                                            _
Mvh                                                    .-.-.=\-.
Christian B. Wiik                                      (_)=='(_)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to