Use a bit of clang-format on git-prompt.c
This commit is contained in:
parent
7aa78e94d1
commit
1ca9e4f6ae
@ -56,7 +56,9 @@ int process_close(process_t process) {
|
||||
|
||||
char *trim(char *str) {
|
||||
char *end;
|
||||
while (isspace((unsigned char)*str)) str++;
|
||||
while (isspace((unsigned char)*str)) {
|
||||
str++;
|
||||
}
|
||||
if (*str == 0) {
|
||||
return str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user