}
index&=info->mask;
index=(int) ConstrainColormapIndex(image,(ssize_t) index,exception);
- if (first_segment)
+ if (first_segment != MagickFalse)
SetPixelIndex(image,(Quantum) index,q);
else
SetPixelIndex(image,(Quantum) (((size_t) index) |
Check for "explicitness", but meta-file headers always explicit.
*/
if ((explicit_file == MagickFalse) && (group != 0x0002))
- explicit_file=(isupper((unsigned char) *explicit_vr) != MagickFalse) &&
- (isupper((unsigned char) *(explicit_vr+1)) != MagickFalse) ?
- MagickTrue : MagickFalse;
+ explicit_file=(isupper((unsigned char) *explicit_vr) != 0) &&
+ (isupper((unsigned char) *(explicit_vr+1)) != 0) ? MagickTrue :
+ MagickFalse;
use_explicit=((group == 0x0002) && (explicit_retry == MagickFalse)) ||
(explicit_file != MagickFalse) ? MagickTrue : MagickFalse;
if ((use_explicit != MagickFalse) && (strncmp(implicit_vr,"xs",2) == 0))
attribute=AcquireString("dcm:");
(void) ConcatenateString(&attribute,dicom_info[i].description);
for (i=0; i < (ssize_t) MagickMax(length,4); i++)
- if (isprint((int) data[i]) == MagickFalse)
+ if (isprint((int) data[i]) == 0)
break;
if ((i == (ssize_t) length) || (length > 4))
{
Display group data.
*/
for (i=0; i < (ssize_t) MagickMax(length,4); i++)
- if (isprint((int) data[i]) == MagickFalse)
+ if (isprint((int) data[i]) == 0)
break;
if ((i != (ssize_t) length) && (length <= 4))
{
}
else
for (i=0; i < (ssize_t) length; i++)
- if (isprint((int) data[i]) != MagickFalse)
+ if (isprint((int) data[i]) != 0)
(void) FormatLocaleFile(stdout,"%c",data[i]);
else
(void) FormatLocaleFile(stdout,"%c",'.');