aboutsummaryrefslogtreecommitdiffstats
path: root/src/radharc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-04 21:15:06 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-04 21:15:06 +0100
commit609a0b70c6010e6646761767cfedbf1160d1c857 (patch)
treec02bacd6225f778f21694ee934c2c4ef6e5536b0 /src/radharc.c
parentm + split out libred (diff)
downloadradharc-609a0b70c6010e6646761767cfedbf1160d1c857.tar.gz
radharc-609a0b70c6010e6646761767cfedbf1160d1c857.tar.bz2
radharc-609a0b70c6010e6646761767cfedbf1160d1c857.tar.xz
init libred
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/radharc.c')
-rw-r--r--src/radharc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radharc.c b/src/radharc.c
index 87c659d..a0b1344 100644
--- a/src/radharc.c
+++ b/src/radharc.c
@@ -38,11 +38,13 @@ main(int argc, char *argv[])
parse_command_line(argc, argv, &settings);
argv0 = argv0 ? argv0 : "radharc";
t (get_state_pathname(&settings));
+ t (libred_init_colour());
return 0;
fail:
libhaiku_perror(argv0);
+ libred_term_colour();
return 1;
}