summaryrefslogtreecommitdiffstats
path: root/cmd-capture-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2015-03-31 17:45:10 +0000
committernicm <nicm>2015-03-31 17:45:10 +0000
commit02df86079b1f3155313ebb6f891cf6cf593d3ad9 (patch)
treee7ae66647bb6a838166789e3525cff8dcc755f28 /cmd-capture-pane.c
parentcd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 (diff)
Fix some format specifier nits, from Ben Boeckel.
Diffstat (limited to 'cmd-capture-pane.c')
-rw-r--r--cmd-capture-pane.c2
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));
}