SCP: Fix register formatting and quiet unused variable warning
This commit is contained in:
parent
30401fc155
commit
dcbfba0f9a
1 changed files with 2 additions and 2 deletions
4
scp.c
4
scp.c
|
@ -3300,7 +3300,7 @@ else {
|
|||
snprintf (namebuf, max_namelen + 1, "%s%*s", rptr->name, (int)(strlen (rptr->name))-((int)max_namelen), rangebuf);
|
||||
}
|
||||
if (all_unique) {
|
||||
snprintf (buf, sizeof (buf), " %s %4d %s\n", namebuf, rptr->width, note);
|
||||
snprintf (buf, sizeof (buf), " %s %4d %s", namebuf, rptr->width, note);
|
||||
fprint_wrapped (st, buf, strlen (buf), " ", rptr->desc, 80);
|
||||
continue;
|
||||
}
|
||||
|
@ -3623,7 +3623,7 @@ char gbuf[CBUFSIZE];
|
|||
CTAB *cmdp;
|
||||
|
||||
if (*cptr) {
|
||||
const char *gptr = get_glyph (cptr, gbuf, 0);
|
||||
get_glyph (cptr, gbuf, 0);
|
||||
if ((cmdp = find_cmd (gbuf))) {
|
||||
if (cmdp->action == &exdep_cmd) {
|
||||
if (dptr->help)
|
||||
|
|
Loading…
Add table
Reference in a new issue