Consistent indentation.
This commit is contained in:
parent
4b53e44d92
commit
98566667c7
8
utils.c
8
utils.c
@ -11,10 +11,10 @@
|
|||||||
#include "dunst.h"
|
#include "dunst.h"
|
||||||
|
|
||||||
char *string_replace_char(char needle, char replacement, char *haystack) {
|
char *string_replace_char(char needle, char replacement, char *haystack) {
|
||||||
char *current = haystack;
|
char *current = haystack;
|
||||||
while ((current = strchr (current, needle)) != NULL)
|
while ((current = strchr (current, needle)) != NULL)
|
||||||
*current++ = replacement;
|
*current++ = replacement;
|
||||||
return haystack;
|
return haystack;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *string_replace_at(char *buf, int pos, int len, const char *repl)
|
char *string_replace_at(char *buf, int pos, int len, const char *repl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user