diff options
author | nicm <nicm> | 2015-03-31 17:45:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-03-31 17:45:10 +0000 |
commit | 02df86079b1f3155313ebb6f891cf6cf593d3ad9 (patch) | |
tree | e7ae66647bb6a838166789e3525cff8dcc755f28 /cmd-capture-pane.c | |
parent | cd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 (diff) | |
download | rtmux-02df86079b1f3155313ebb6f891cf6cf593d3ad9.tar.gz rtmux-02df86079b1f3155313ebb6f891cf6cf593d3ad9.tar.bz2 rtmux-02df86079b1f3155313ebb6f891cf6cf593d3ad9.zip |
Fix some format specifier nits, from Ben Boeckel.
Diffstat (limited to 'cmd-capture-pane.c')
-rw-r--r-- | cmd-capture-pane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c index ce60b4c5..b44ebe9d 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -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)); } |