Backed out changeset: 159f9e7014f8

This commit is contained in:
Oliver Duis
2012-05-06 23:04:47 +02:00
parent 1483ecb47c
commit 05226a2875
125 changed files with 747 additions and 750 deletions

View File

@@ -194,7 +194,7 @@ void ImageData::extractInfo () {
bool lensOk = false;
if (mnote->getTag ("LensData")) {
std::string ldata = mnote->getTag ("LensData")->valueToString ();
size_t pos;
int pos;
if (ldata.size()>10 && (pos=ldata.find ("Lens = "))!=Glib::ustring::npos) {
lens = ldata.substr (pos + 7);
if (lens.compare (0, 7, "Unknown"))
@@ -336,7 +336,7 @@ std::string ImageMetaData::shutterToString (double shutter) {
std::string ImageMetaData::expcompToString (double expcomp, bool maskZeroexpcomp) {
char buffer[256];
if (maskZeroexpcomp){
if (maskZeroexpcomp==true){
if (expcomp!=0.0){
sprintf (buffer, "%0.2f", expcomp);
return buffer;