aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-28 03:05:39 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-28 03:05:39 +0200
commit021fdcc97c0ec2efa288da61e88ba13e92d6232d (patch)
tree421e473a971fc66728e74c074beba732ff0ac588
parentff0ec609312d150cc8c790277c678cad76b38f30 (diff)
downloadtdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.tar.gz
tdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.tar.xz
tdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.zip
Use GLib booleans
-rw-r--r--src/sdtui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdtui.c b/src/sdtui.c
index c4c39a8..cd56fa6 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -443,13 +443,13 @@ app_init_terminal (Application *self)
|| COLOR_PAIRS <= ATTRIBUTE_COUNT)
return;
- gboolean failed = false;
+ gboolean failed = FALSE;
for (int a = 0; a < ATTRIBUTE_COUNT; a++)
{
if (self->attrs[a].fg >= COLORS || self->attrs[a].fg < -1
|| self->attrs[a].bg >= COLORS || self->attrs[a].bg < -1)
{
- failed = true;
+ failed = TRUE;
continue;
}