=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-capture-pane.c,v retrieving revision 1.30 retrieving revision 1.31 diff -c -r1.30 -r1.31 *** src/usr.bin/tmux/cmd-capture-pane.c 2014/10/20 22:29:25 1.30 --- src/usr.bin/tmux/cmd-capture-pane.c 2015/03/31 17:45:10 1.31 *************** *** 1,4 **** ! /* $OpenBSD: cmd-capture-pane.c,v 1.30 2014/10/20 22:29:25 nicm Exp $ */ /* * Copyright (c) 2009 Jonathan Alvarado --- 1,4 ---- ! /* $OpenBSD: cmd-capture-pane.c,v 1.31 2015/03/31 17:45:10 nicm Exp $ */ /* * Copyright (c) 2009 Jonathan Alvarado *************** *** 74,80 **** tmp[0] = line[i]; tmp[1] = '\0'; } else ! xsnprintf(tmp, sizeof tmp, "\\%03o", line[i]); buf = cmd_capture_pane_append(buf, len, tmp, strlen(tmp)); } --- 74,80 ---- tmp[0] = line[i]; tmp[1] = '\0'; } else ! xsnprintf(tmp, sizeof tmp, "\\%03hho", line[i]); buf = cmd_capture_pane_append(buf, len, tmp, strlen(tmp)); }