Fix some format specifier nits, from Ben Boeckel.

This commit is contained in:
nicm
2015-03-31 17:45:10 +00:00
parent cd9ccbc1e9
commit 02df86079b
12 changed files with 31 additions and 31 deletions

View File

@ -74,7 +74,7 @@ cmd_capture_pane_pending(struct args *args, struct window_pane *wp,
tmp[0] = line[i];
tmp[1] = '\0';
} else
xsnprintf(tmp, sizeof tmp, "\\%03o", line[i]);
xsnprintf(tmp, sizeof tmp, "\\%03hho", line[i]);
buf = cmd_capture_pane_append(buf, len, tmp,
strlen(tmp));
}