Consistent indentation.

This commit is contained in:
Yuri D'Elia 2014-12-21 22:12:54 +01:00 committed by Eizen
parent 4b53e44d92
commit 98566667c7

View File

@ -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)