summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-12 18:16:33 +0000
committernicm <nicm>2019-05-12 18:16:33 +0000
commit00f19b7f9160f32b3736da08116e5ea4f2409bb1 (patch)
treef025c269067ac4f75725c5ac7bcf2a418a653540 /style.c
parenta13165523598fa7670ebc95f3cfb5c892d08745a (diff)
Fix some indentation and dead assignments.
Diffstat (limited to 'style.c')
-rw-r--r--style.c4
1 files changed, 1 insertions, 3 deletions
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;