diff options
author | Steve Price <steve@FreeBSD.org> | 1998-11-02 04:04:44 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-11-02 04:04:44 +0000 |
commit | a10a7b97d740886ead028d6a430d15a21e1b6afe (patch) | |
tree | 506fc0763f6870bb9307abdd41fc96eac8d5d869 /net/licq-devel/files/patch-ae | |
parent | Update to version 2.8.1. (diff) |
Update to version 0.44.
PR: 8514
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=14294
Diffstat (limited to 'net/licq-devel/files/patch-ae')
-rw-r--r-- | net/licq-devel/files/patch-ae | 46 |
1 files changed, 11 insertions, 35 deletions
diff --git a/net/licq-devel/files/patch-ae b/net/licq-devel/files/patch-ae index 520256117bbc..b3eaa9409a16 100644 --- a/net/licq-devel/files/patch-ae +++ b/net/licq-devel/files/patch-ae @@ -1,35 +1,11 @@ ---- src/mledit.cpp.orig Mon Jul 13 20:53:46 1998 -+++ src/mledit.cpp Wed Aug 5 18:12:05 1998 -@@ -6,18 +6,25 @@ - { - // add word wrap here - char *newText = new char[strlen(s) + 1]; -- int j = 0; -- for (int i = 0; i < strlen(s); i++) -+ int j, m, n; -+ j = 0; -+ for (unsigned long i = 0; i < strlen(s); i++) - { - //if (s[i] == '\t') j += 3; // add whatever the length of a tab is (broken) - if (j > fill_column_value) - { - // backup until we get to a space or a newline -- while (s[i] != ' ' && s[i] != '\n') { i--; j--; } -- newText[j] = '\0'; -- QMultiLineEdit::append(newText); -- j = 0; -- i++; // get past the space or newline -+ m = i; -+ n = j; -+ while (m >= 0 && s[m] != ' ' && s[m] != '\n') { m--; n--; } -+ if (s[m] == ' ') // space found -+ { -+ i = m; -+ newText[n] = '\0'; -+ QMultiLineEdit::append(newText); -+ j = 0; -+ i++; // get past the space or newline -+ } - } - if (s[i] == '\n') - { +--- src/searchuserdlg.cpp Fri Oct 30 14:29:22 1998 ++++ src/searchuserdlg.cpp Fri Oct 30 19:23:46 1998 +@@ -109,7 +109,7 @@ + QColorGroup normal(pal.normal()); + QColorGroup newNormal(normal.foreground(), normal.background(), normal.light(), normal.dark(), normal.mid(), normal.text(), QColor(192, 192, 192)); + foundView->setPalette(QPalette(newNormal, pal.disabled(), newNormal));*/ +- foundView->setStyle(WindowsStyle); ++ foundView->setStyle(MotifStyle); + foundView->setFrameStyle(QFrame::Box | QFrame::Raised); + + connect (btnCancelSearch, SIGNAL(clicked()), this, SLOT(reject())); |