Skip to content

Commit

Permalink
Merge pull request #1290 from grapenut/fix-connect-monikers
Browse files Browse the repository at this point in the history
Change fixed width format for names in dump_users()
  • Loading branch information
mike347 committed Mar 7, 2019
2 parents dfd3ab1 + 3120226 commit 41bd1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 41bd1ee

Please sign in to comment.