mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use three dots not two.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: cmd-list-buffers.c,v 1.2 2008-06-20 19:01:59 nicm Exp $ */
 | 
			
		||||
/* $Id: cmd-list-buffers.c,v 1.3 2008-06-20 19:03:45 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -54,8 +54,8 @@ cmd_list_buffers_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
	if ((s = cmd_find_session(ctx, data->target)) == NULL)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	if (s->sx > 35) {
 | 
			
		||||
		size = s->sx - 35;
 | 
			
		||||
	if (s->sx > 35) {	/* leave three for ... */
 | 
			
		||||
		size = s->sx - 32;
 | 
			
		||||
		tmp = xmalloc(size + 1);
 | 
			
		||||
	} else {
 | 
			
		||||
		size = 0;
 | 
			
		||||
@@ -75,6 +75,7 @@ cmd_list_buffers_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
			if (out == size) {
 | 
			
		||||
				tmp[out - 1] = '.';
 | 
			
		||||
				tmp[out - 2] = '.';
 | 
			
		||||
				tmp[out - 3] = '.';
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			ctx->print(ctx, "%d: "
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user