Issue: 989 "Wrong key name in output of addmoddel sample". Thank You Thomas for the patch.

This commit is contained in:
Robin Mills 2014-09-05 20:41:49 +00:00
parent 0141294837
commit fdd7e522e7
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ try {
std::string date = tag.toString();
date.replace(0, 4, "2000");
tag.setValue(date);
std::cout << "Modified key \"" << key
std::cout << "Modified key \"" << tag.key()
<< "\", new value \"" << tag.value() << "\"\n";
// Alternatively, we can use findKey()

View File

@ -1,7 +1,7 @@
Added a few tags the quick way.
Added key "Exif.Photo.DateTimeOriginal", value "1999:12:31 23:59:59"
Added key "Exif.Image.PrimaryChromaticities", value "1/2 1/3 2/3 3/4"
Modified key "Exif.Image.PrimaryChromaticities", new value "2000:12:31 23:59:59"
Modified key "Exif.Photo.DateTimeOriginal", new value "2000:12:31 23:59:59"
Modified key "Exif.Image.PrimaryChromaticities", new value "1/2 1/3 88/77 3/4"
Deleted key "Exif.Image.PrimaryChromaticities"
0x0110 Image Model Ascii 7 Test 1