Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv10006
Modified Files:
cmd-join-pane.c
Log Message:
While here, maximum percentage is 100 not INT_MAX. Oops.
Index: cmd-join-pane.c
===================================================================
RCS file: /cvsroot/tmux/tmux/cmd-join-pane.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cmd-join-pane.c 23 Jan 2011 15:47:31 -0000 1.7
+++ cmd-join-pane.c 23 Jan 2011 15:49:32 -0000 1.8
@@ -96,7 +96,7 @@
return (-1);
}
} else if (args_has(args, 'p')) {
- percentage = args_strtonum(args, 'p', 0, INT_MAX, &cause);
+ percentage = args_strtonum(args, 'p', 0, 100, &cause);
if (cause != NULL) {
ctx->error(ctx, "percentage %s", cause);
xfree(cause);
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs