--- a/meshlabserver/mainserver.cpp +++ b/meshlabserver/mainserver.cpp @@ -897,7 +897,7 @@ } if (meshDocument.size() < outmeshlist.size()) - fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", qPrintable(outmeshlist.size()), qPrintable(meshDocument.size())); + fprintf(logfp, "Error: trying to save %i meshes, but only %i available in the project\n", outmeshlist.size(), meshDocument.size()); else { for (int ii = 0; ii < outmeshlist.size(); ++ii) @@ -911,7 +911,7 @@ fprintf(logfp, "Output mesh %s has NOT been saved\n", qPrintable(outmeshlist[ii].filename)); } else - fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", qPrintable(ii), qPrintable(outmeshlist[ii].filename)); + fprintf(logfp, "Invalid layer %i. Output mesh %s will not be saved\n", ii, qPrintable(outmeshlist[ii].filename)); } }