From: Uwe Hermann Date: Tue, 15 Mar 2016 17:40:50 +0000 (+0100) Subject: output/srzip: Minor whitespace fixes. X-Git-Tag: libsigrok-0.5.0~544 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=74a9c0adc04fd76f68e8ad5a3d3fbde0f873f849;p=libsigrok.git output/srzip: Minor whitespace fixes. --- diff --git a/src/output/srzip.c b/src/output/srzip.c index a03f003e..aa3c3757 100644 --- a/src/output/srzip.c +++ b/src/output/srzip.c @@ -110,15 +110,15 @@ static int zip_create(const struct sr_output *o) for (l = o->sdi->channels; l; l = l->next) { ch = l->data; switch (ch->type) { - case SR_CHANNEL_LOGIC: - logic_channels++; - break; - case SR_CHANNEL_ANALOG: - if (outc->min_analog_index == -1 || - ch->index < outc->min_analog_index) - outc->min_analog_index = ch->index; - analog_channels++; - break; + case SR_CHANNEL_LOGIC: + logic_channels++; + break; + case SR_CHANNEL_ANALOG: + if (outc->min_analog_index == -1 || + ch->index < outc->min_analog_index) + outc->min_analog_index = ch->index; + analog_channels++; + break; } } @@ -128,13 +128,13 @@ static int zip_create(const struct sr_output *o) for (l = o->sdi->channels; l; l = l->next) { ch = l->data; switch (ch->type) { - case SR_CHANNEL_LOGIC: - s = g_strdup_printf("probe%d", ch->index + 1); - break; - case SR_CHANNEL_ANALOG: - s = g_strdup_printf("analog%d", - ch->index - outc->min_analog_index + 1); - break; + case SR_CHANNEL_LOGIC: + s = g_strdup_printf("probe%d", ch->index + 1); + break; + case SR_CHANNEL_ANALOG: + s = g_strdup_printf("analog%d", + ch->index - outc->min_analog_index + 1); + break; } if (ch->enabled) g_key_file_set_string(meta, devgroup, s, ch->name);