From 00f19b7f9160f32b3736da08116e5ea4f2409bb1 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 12 May 2019 18:16:33 +0000 Subject: Fix some indentation and dead assignments. --- style.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'style.c') diff --git a/style.c b/style.c index 92941dbd..ce78175a 100644 --- a/style.c +++ b/style.c @@ -57,10 +57,8 @@ style_parse(struct style *sy, const struct grid_cell *base, const char *in) style_copy(&saved, sy); do { - while (*in != '\0' && strchr(delimiters, *in) != NULL) { + while (*in != '\0' && strchr(delimiters, *in) != NULL) in++; - end--; - } if (*in == '\0') break; -- cgit v1.2.3