From fde0dccd6a3c40caa0ab97f4c1f4481f5883ea82 Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Sun, 6 May 2018 21:50:09 +0200 Subject: [PATCH] Revised printf file format strings --- rtengine/imagedata.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rtengine/imagedata.cc b/rtengine/imagedata.cc index 993be5bc1..572bd7e42 100644 --- a/rtengine/imagedata.cc +++ b/rtengine/imagedata.cc @@ -562,21 +562,21 @@ FrameData::FrameData (rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory* sampleFormat = IIOSF_FLOAT16; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (16 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (16-bit)\n", sampleFormat); #endif } else if (bitspersample == 24) { sampleFormat = IIOSF_FLOAT24; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (24 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (24-bit)\n", sampleFormat); #endif } else if (bitspersample == 32) { sampleFormat = IIOSF_FLOAT32; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (32 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (32-bit)\n", sampleFormat); #endif } } @@ -586,21 +586,21 @@ FrameData::FrameData (rtexif::TagDirectory* frameRootDir_, rtexif::TagDirectory* sampleFormat = IIOSF_FLOAT16; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (16 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (16-bit)\n", sampleFormat); #endif } else if (bitspersample == 24) { sampleFormat = IIOSF_FLOAT24; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (24 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (24-bit)\n", sampleFormat); #endif } else if (bitspersample == 32) { sampleFormat = IIOSF_FLOAT32; isHDR = true; #if PRINT_HDR_PS_DETECTION - printf("HDR detected ! -> sampleFormat = %d (32 bits)\n", sampleFormat); + printf("HDR detected ! -> sampleFormat = %d (32-bit)\n", sampleFormat); #endif } } else if (sampleformat == SAMPLEFORMAT_INT || sampleformat == SAMPLEFORMAT_UINT) {