Fix for bugzilla bug 886. compiler warning for missing brakets.

Thanks to Raffaele Sena <raff@aromatic.com> for providing a fix.
This commit is contained in:
ramiro%netscape.com 1998-10-05 19:35:48 +00:00
Родитель 1cbe1bcfb9
Коммит ab8c98878e
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -162,18 +162,24 @@ fe_print_colormap_allocation(fe_colormap *colormap)
c = '*';
}
else if (allocation[i] & CELL_TRANSIENT)
{
if (allocation[i] & CELL_PERMANENT)
{
if (allocation[i] & CELL_IMAGE)
c = 'A';
else
c = 'T';
}
else
c = 't';
}
else if (allocation[i] & CELL_PERMANENT)
{
if (allocation [i] & CELL_IMAGE)
c = 'I';
else
c = 'p';
}
else if (allocation[i] & CELL_IMAGE)
c = 'i';
else if (allocation[i] == CELL_AVAIL)