[mw-devel] [Git][milliways/mw][master] Display the whole realname in the who list

Andrew Price welshbyte at sucs.org
Mon Apr 8 22:42:30 BST 2019


Andrew Price pushed to branch master at milliways / mw


Commits:
9b6dd8b5 by Andrew Price at 2019-04-08T21:40:43Z
Display the whole realname in the who list

Makes sure multibyte chars aren't truncated.

- - - - -


1 changed file:

- src/client/who.c


Changes:

=====================================
src/client/who.c
=====================================
@@ -107,7 +107,7 @@ void display_wholist(int mode)
 
 			if (json_getint(perms, "wizchat") > 0) chat='*';
 
-			format_message("%c%-*s %-20.20s %6s Room %d (%s,%s,%s)\033--",chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
+			format_message("%c%-*s %-30.30s %6s Room %d (%s,%s,%s)\033--",chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
 		}
 	}
 	format_message("%s", divider);



View it on GitLab: https://projects.sucs.org/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366

-- 
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190408/58092e75/attachment.html>


More information about the mw-devel mailing list