]> sigrok.org Git - libsigrok.git/commitdiff
output/analog: Add missing space (consistency).
authorUwe Hermann <redacted>
Wed, 1 Jan 2014 16:38:05 +0000 (17:38 +0100)
committerUwe Hermann <redacted>
Wed, 1 Jan 2014 16:38:05 +0000 (17:38 +0100)
output/analog.c

index 9873a8f5f8e92d461bbe0b44f4dbfc38368d531c..8141525ddbe11ec85f20a596d52a251f1ca4c2db 100644 (file)
@@ -122,7 +122,7 @@ static void fancyprint(int unit, int mqflags, float value, GString *out)
                si_printf(value, out, "Hz");
                break;
        case SR_UNIT_PERCENTAGE:
-               g_string_append_printf(out, "%f%%", value);
+               g_string_append_printf(out, "%f %%", value);
                break;
        case SR_UNIT_BOOLEAN:
                if (value > 0)