diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-28 03:05:39 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-28 03:05:39 +0200 |
commit | 021fdcc97c0ec2efa288da61e88ba13e92d6232d (patch) | |
tree | 421e473a971fc66728e74c074beba732ff0ac588 | |
parent | ff0ec609312d150cc8c790277c678cad76b38f30 (diff) | |
download | tdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.tar.gz tdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.tar.xz tdv-021fdcc97c0ec2efa288da61e88ba13e92d6232d.zip |
Use GLib booleans
-rw-r--r-- | src/sdtui.c | 4 |
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; } |