summaryrefslogtreecommitdiff
blob: 61965baa9a9ac79095689b885eee0d4175558feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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));
 		}
 
 	}