Whilst it's technically correct that the return type of the cmd-* commands
is an int, it's still part of an enum field, and we already mark the other
commands like this.  So do the same for choose-tree.
---
 trunk/cmd-choose-tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trunk/cmd-choose-tree.c b/trunk/cmd-choose-tree.c
index b33bf34..7132017 100644
--- a/trunk/cmd-choose-tree.c
+++ b/trunk/cmd-choose-tree.c
@@ -34,7 +34,7 @@
  * Enter choice mode to choose a session and/or window.
  */
 
-int    cmd_choose_tree_exec(struct cmd *, struct cmd_ctx *);
+enum cmd_retval        cmd_choose_tree_exec(struct cmd *, struct cmd_ctx *);
 
 void   cmd_choose_tree_callback(struct window_choose_data *);
 void   cmd_choose_tree_free(struct window_choose_data *);
-- 
1.7.10


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to