Author: post
Date: 2009-07-05 17:36:47 +0200 (Sun, 05 Jul 2009)
New Revision: 75
Modified:
RawSpeed/RawDecoder.cpp
Log:
- Fixed camera check bailout.
Remeber to "make clean", before compiling.
Modified: RawSpeed/RawDecoder.cpp
===================================================================
--- RawSpeed/RawDecoder.cpp 2009-07-05 15:28:03 UTC (rev 74)
+++ RawSpeed/RawDecoder.cpp 2009-07-05 15:36:47 UTC (rev 75)
@@ -111,8 +111,10 @@
TrimSpaces(make);
TrimSpaces(model);
Camera* cam = meta->getCamera(make, model, mode);
- if (!cam && mode.length() == 0) {
- printf("Unable to find camera in database: %s %s\n", make.c_str(),
model.c_str());
+ if (!cam) {
+ if (mode.length() == 0)
+ printf("Unable to find camera in database: %s %s\n", make.c_str(),
model.c_str());
+
return; // Assume true.
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit