1 --- hugin-0.5/src/Panorama/Panorama.cpp.orig 2005-05-06 05:29:02.000000000 +0200
2 +++ hugin-0.5/src/Panorama/Panorama.cpp 2005-05-13 23:46:38.730607064 +0200
4 || (line.compare("# Control Points: Distance between desired and fitted Position (in \"Pixels\")") == 0 )) {
6 // switch to reading the control point distance
7 - if (scriptImgCounter != imgs.size()-1) {
8 - DEBUG_ERROR("Read only " << scriptImgCounter+1 << " images from PTOptimizer file");
9 + if (scriptImgCounter != imgs.size()) {
10 + DEBUG_ERROR("Read only " << scriptImgCounter << " images from PTOptimizer file");
12 DEBUG_DEBUG("Changing state to read control point distances");