From 98566667c70036bfe4ab1471d29c5ee32413401b Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sun, 21 Dec 2014 22:12:54 +0100 Subject: [PATCH] Consistent indentation. --- utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils.c b/utils.c index c162024..99135cb 100644 --- a/utils.c +++ b/utils.c @@ -11,10 +11,10 @@ #include "dunst.h" char *string_replace_char(char needle, char replacement, char *haystack) { - char *current = haystack; - while ((current = strchr (current, needle)) != NULL) - *current++ = replacement; - return haystack; + char *current = haystack; + while ((current = strchr (current, needle)) != NULL) + *current++ = replacement; + return haystack; } char *string_replace_at(char *buf, int pos, int len, const char *repl)