зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
aca09c1e15
Коммит
378f3693c4
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче