Use GLib booleans

This commit is contained in:
Přemysl Eric Janouch 2016-09-28 03:05:39 +02:00
parent ff0ec60931
commit 021fdcc97c
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}