Use same style in comments
This commit is contained in:
@@ -153,10 +153,10 @@ static PCXHeader* ReadPCXHeader (FILE* F, const char* Name)
|
|||||||
P->Compressed, Name);
|
P->Compressed, Name);
|
||||||
}
|
}
|
||||||
/* We support:
|
/* We support:
|
||||||
* - one plane with either 1, 4 or 8 bits per pixel
|
** - one plane with either 1, 4 or 8 bits per pixel
|
||||||
* - three planes with 8 bits per pixel
|
** - three planes with 8 bits per pixel
|
||||||
* - four planes with 8 bits per pixel (does this exist?)
|
** - four planes with 8 bits per pixel (does this exist?)
|
||||||
*/
|
**/
|
||||||
if (!((P->BPP == 1 && P->Planes == 1) ||
|
if (!((P->BPP == 1 && P->Planes == 1) ||
|
||||||
(P->BPP == 4 && P->Planes == 1) ||
|
(P->BPP == 4 && P->Planes == 1) ||
|
||||||
(P->BPP == 8 && (P->Planes == 1 || P->Planes == 3 || P->Planes == 4)))) {
|
(P->BPP == 8 && (P->Planes == 1 || P->Planes == 3 || P->Planes == 4)))) {
|
||||||
@@ -420,8 +420,8 @@ Bitmap* ReadPCXFile (const Collection* A)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* One plane means we have a palette which is either part of the header
|
/* One plane means we have a palette which is either part of the header
|
||||||
* or follows.
|
** or follows.
|
||||||
*/
|
**/
|
||||||
if (P->PalInfo == 0) {
|
if (P->PalInfo == 0) {
|
||||||
|
|
||||||
/* Create the monochrome palette */
|
/* Create the monochrome palette */
|
||||||
|
|||||||
Reference in New Issue
Block a user