diff options
| author | Wiimm <none> | 2020-07-27 12:52:34 +0200 |
|---|---|---|
| committer | Wiimm <none> | 2020-07-27 12:52:34 +0200 |
| commit | 9f75cd52d87c670176235302f50161bd6ebc7fc1 (patch) | |
| tree | b733f2cbb8c24b5ead0d718f9acf4efb8b192306 /project/src/lib-image1.c | |
| parent | 88e810624c68f35f1d1adb2f7738bea3318b6fb4 (diff) | |
r8228: solved most mac warnings
Diffstat (limited to '')
| -rw-r--r-- | project/src/lib-image1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/src/lib-image1.c b/project/src/lib-image1.c index bf7673f..f99154a 100644 --- a/project/src/lib-image1.c +++ b/project/src/lib-image1.c @@ -561,7 +561,7 @@ bool IsGrayIMG { DASSERT(img); image_format_t xform; - NormalizeIF(&xform,img->iform,IMG_X_RGB,img->iform); + NormalizeIF(&xform,img->iform,IMG_X_RGB,img->pform); return xform == IMG_X_GRAY; } @@ -894,7 +894,7 @@ static enumError TransformPalette FREE(itab); return ERROR0(ERR_INVALID_IFORM, "Palette format 0x%02x [%s] not supported: %s\n", - src_img->pform, GetImageFormatName(src_img->pform,"?"), src_img->path ); + src_img->pform, GetPaletteFormatName(src_img->pform,"?"), src_img->path ); } |
