summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2013-01-04 00:28:29 +0100
committerDennis Real <github@tildepipe.org>2013-01-04 00:28:29 +0100
commit57719cc56157d31b69c2176921f77389e18f698f (patch)
tree637f4aad8514404e7fd45f2ae93437f2e15ccd44 /src
parent008ab7fc0f43161e0eedfddbaa80fe28c4f9ff13 (diff)
Flash Exposure Compensation (Nikon)
Diffstat (limited to 'src')
-rw-r--r--src/exif_nikon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exif_nikon.c b/src/exif_nikon.c
index 7ee6e86..a223043 100644
--- a/src/exif_nikon.c
+++ b/src/exif_nikon.c
@@ -212,7 +212,7 @@ static void exn_get_mnote_nikon_18(ExifData *ed, char * buffer, unsigned int max
sscanf(buf, "Flash Exposure Compensation: %f", &data); /* libexif buggy here. fix conversion */
- snprintf(buffer, maxsize, "FlashExposureCompensation: %.1f\n", ((float)((signed char)round(data*6.0))) / 6.0 );
+ snprintf(buffer, maxsize, "FlashExposureCompensation: %+.1f EV\n", ((float)((signed char)round(data*6.0))) / 6.0 );
}