freebsd-ports/net/vyqchat/files/patch-src-user.cpp
Pav Lucistnik 656c4ea1a5 - Fix compile on FreeBSD 4.X
- Fix libaudiofile dependency

Submitted by:	maintainer
2005-09-20 07:48:02 +00:00

13 lines
450 B
C++

--- src/user.cpp Mon Jul 18 21:54:08 2005
+++ src/user.cpp Sun Sep 18 21:48:55 2005
@@ -42,7 +42,9 @@
int User::height(const QListBox *lb) const/*{{{*/
{
- return QMAX(lb->fontMetrics().height(), Icons::icon_user.pixmap(QIconSet::Small, true).height());
+ int h1 = lb->fontMetrics().height();
+ int h2 = Icons::icon_user.pixmap(QIconSet::Small, true).height();
+ return QMAX(h1, h2);
}/*}}}*/
int User::width(const QListBox *lb) const/*{{{*/