Skip to content
Permalink
Browse files

Change fixed width format for names in dump_users() to non-fixed widt…

…h since we are padding manually and monikers with ansi may have more than 16 characters
  • Loading branch information...
grapenut committed Mar 7, 2019
1 parent dfd3ab1 commit 31202265e4265f5281e252ae36b7bd430541868c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bsd.c
@@ -5412,7 +5412,7 @@ dump_users(DESC *call_by, char *match)
if (nlen < 16)
safe_fill(' ', 16 - nlen, nbuff, &np);
*np = '\0';
snprintf(tbuf, sizeof tbuf, "%16.16s %10.10s %6.6s%c %s", nbuff,
snprintf(tbuf, sizeof tbuf, "%s %10.10s %6.6s%c %s", nbuff,
onfor_time_fmt(d->connected_at, 10),
idle_time_fmt(d->last_time, 4), (Dark(d->player) ? 'D' : ' '),
get_doing(d->player, NOTHING, NOTHING, NULL, 0));

0 comments on commit 3120226

Please sign in to comment.
You can’t perform that action at this time.