mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Spacing.
This commit is contained in:
parent
6c442c19ba
commit
89404788c9
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-generic.c,v 1.27 2009-05-21 19:46:00 nicm Exp $ */
|
/* $Id: cmd-generic.c,v 1.28 2009-05-21 19:47:57 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -34,7 +34,7 @@ int cmd_fill_argument(int, char **, int, char **);
|
|||||||
size_t
|
size_t
|
||||||
cmd_prarg(char *buf, size_t len, const char *prefix, char *arg)
|
cmd_prarg(char *buf, size_t len, const char *prefix, char *arg)
|
||||||
{
|
{
|
||||||
if (strchr(arg, ' ' ) != NULL)
|
if (strchr(arg, ' ') != NULL)
|
||||||
return (xsnprintf(buf, len, "%s\"%s\"", prefix, arg));
|
return (xsnprintf(buf, len, "%s\"%s\"", prefix, arg));
|
||||||
return (xsnprintf(buf, len, "%s%s", prefix, arg));
|
return (xsnprintf(buf, len, "%s%s", prefix, arg));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user