Author: post
Date: 2009-12-12 13:12:58 +0100 (Sat, 12 Dec 2009)
New Revision: 172

Modified:
   RawSpeed/Camera.cpp
Log:
Fix error messages.

Modified: RawSpeed/Camera.cpp
===================================================================
--- RawSpeed/Camera.cpp 2009-12-12 11:41:00 UTC (rev 171)
+++ RawSpeed/Camera.cpp 2009-12-12 12:12:58 UTC (rev 172)
@@ -261,13 +261,13 @@
     if (key)
       hint_name = string((const char*)key);
     else 
-      ThrowCME("CameraMetadata: Could not find name for hint for %s %s 
camera.", this->make, this->model);
+      ThrowCME("CameraMetadata: Could not find name for hint for %s %s 
camera.", make.c_str(), model.c_str());
 
     key = xmlGetProp(cur, (const xmlChar *)"value");
     if (key)
       hint_value = string((const char*)key);
     else 
-      ThrowCME("CameraMetadata: Could not find value for hint for %s %s 
camera.", this->make, this->model);
+      ThrowCME("CameraMetadata: Could not find value for hint %s for %s %s 
camera.", hint_name.c_str(), make.c_str(), model.c_str());
 
     hints.insert(make_pair(hint_name, hint_value));
   }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to