aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2013-10-11 19:41:43 +0100
committerThomas Adam <thomas@xteddy.org>2013-10-11 19:41:43 +0100
commit334c28afe71eabb236bf8cfdfc18f56d99719711 (patch)
tree1da825d9456f177e96a2b70a154c89319651c55c
parent5944230c507b8cdc10688f0196b10126daee3aad (diff)
downloadrtmux-334c28afe71eabb236bf8cfdfc18f56d99719711.tar.gz
rtmux-334c28afe71eabb236bf8cfdfc18f56d99719711.tar.bz2
rtmux-334c28afe71eabb236bf8cfdfc18f56d99719711.zip
Fix previous
cwd is a char*, not a u_int.
-rw-r--r--format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/format.c b/format.c
index b3f7fc3a..de6d8c84 100644
--- a/format.c
+++ b/format.c
@@ -522,8 +522,8 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp)
struct grid *gd = wp->base.grid;
struct grid_line *gl;
unsigned long long size;
- u_int i, idx, cwd;
- char *cmd;
+ u_int i, idx;
+ char *cmd, *cwd;
size = 0;
for (i = 0; i < gd->hsize; i++) {