]> sigrok.org Git - libsigrok.git/commitdiff
transform/scale: Fix g_variant_new() argument.
authorUwe Hermann <redacted>
Sat, 24 Oct 2015 19:36:20 +0000 (21:36 +0200)
committerUwe Hermann <redacted>
Sat, 24 Oct 2015 19:44:20 +0000 (21:44 +0200)
src/transform/scale.c

index ae82ee3f2a43d1857f6c8f3055bd8a1c6ccb9c19..ef2d6b456d724a10814a518a5983cd0ec5be5624 100644 (file)
@@ -118,7 +118,7 @@ static const struct sr_option *get_options(void)
 
        /* Default to a scaling factor of 1.0. */
        if (!options[0].def)
-               options[0].def = g_variant_ref_sink(g_variant_new(("(xt"), &p, &q));
+               options[0].def = g_variant_ref_sink(g_variant_new("(xt)", &p, &q));
 
        return options;
 }