]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/colors: fix colors test
authorKarel Zak <kzak@redhat.com>
Tue, 11 Mar 2014 10:51:38 +0000 (11:51 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Mar 2014 10:51:38 +0000 (11:51 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/colors.c

index 15123168d38633bf829e64c42d85de9a4c80fd00..03ac7118f30b559d85d0a40377f34c10a5a95a05 100644 (file)
@@ -169,7 +169,7 @@ int main(int argc, char *argv[])
        }
 
        colors_init(mode, program_invocation_short_name);
-       color_enable(UL_COLOR_RED);
+       color_enable(colorscheme_from_string(scheme));
 
        printf("Hello World!");
        color_disable();