FreeBSD Bugzilla – Attachment 27617 Details for
Bug 46772
[PATCH] centericq MSN UTF-8 (fixed UTF-8 nickname)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.14 KB, created by
Cheng-Lung Sung
on 2003-01-05 01:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Cheng-Lung Sung
Created:
2003-01-05 01:40:01 UTC
Size:
1.14 KB
patch
obsolete
>diff -ruN /usr/ports/net/centericq/files/patch-msnhook.cc /tmp/centericq/files/patch-msnhook.cc >--- /usr/ports/net/centericq/files/patch-msnhook.cc Sat Dec 21 01:15:36 2002 >+++ /tmp/centericq/files/patch-msnhook.cc Sun Jan 5 02:05:04 2003 >@@ -1,5 +1,5 @@ > --- src/hooks/msnhook.cc Fri Dec 13 00:17:12 2002 >-+++ src/hooks/msnhook.cc Wed Dec 18 14:57:02 2002 >++++ src/hooks/msnhook.cc Sun Jan 5 02:02:44 2003 > @@ -29,6 +29,7 @@ > #include "accountmanager.h" > #include "eventmanager.h" >@@ -18,6 +18,20 @@ > > if(c) > if(c->getstatus() != offline || !c->inlist()) { >+@@ -352,11 +354,11 @@ >+ >+ void msnhook::checkfriendly(icqcontact *c, const string friendlynick, bool forcefetch) { >+ string oldnick = c->getnick(); >+- string newnick = unmime(friendlynick); >++ string newnick = Utf8ToStr(unmime(friendlynick)); >+ >+ c->setnick(newnick); >+ >+- if(forcefetch || (oldnick != newnick && c->getdispnick() == oldnick) || oldnick.empty()) { >++ if(forcefetch || (oldnick != newnick && c->getdispnick() != newnick) || oldnick.empty()) { >+ c->setdispnick(newnick); >+ face.relaxedupdate(); >+ } > @@ -556,7 +558,8 @@ > > mhook.checkinlist(ic);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46772
: 27617