mirror of
https://github.com/tmate-io/tmate.git
synced 2025-05-29 14:11:06 +02:00
Sort includes and fix spaces.
This commit is contained in:
parent
4119c476aa
commit
673eb160d4
4
cmd.c
4
cmd.c
@ -1245,8 +1245,8 @@ cmd_template_replace(const char *template, const char *s, int idx)
|
|||||||
{
|
{
|
||||||
char ch, *buf;
|
char ch, *buf;
|
||||||
const char *ptr;
|
const char *ptr;
|
||||||
int replaced;
|
int replaced;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
if (strchr(template, '%') == NULL)
|
if (strchr(template, '%') == NULL)
|
||||||
return (xstrdup(template));
|
return (xstrdup(template));
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
#include <event.h>
|
#include <event.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user