From 021fdcc97c0ec2efa288da61e88ba13e92d6232d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Wed, 28 Sep 2016 03:05:39 +0200 Subject: [PATCH] Use GLib booleans --- src/sdtui.c | 4 ++-- 1 file 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; }