From 77aec59da96a16a63cdfd6ab605012357a2e19f6 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Wed, 24 Jul 2013 09:39:30 +0000 Subject: [PATCH] change outdir for all receivers in gui git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@209 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/src/qTabDataOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorGui/src/qTabDataOutput.cpp b/slsDetectorGui/src/qTabDataOutput.cpp index d3fe18575..f10546f9e 100644 --- a/slsDetectorGui/src/qTabDataOutput.cpp +++ b/slsDetectorGui/src/qTabDataOutput.cpp @@ -715,7 +715,7 @@ int qTabDataOutput::VerifyOutputDirectory(){ cout << "The output path doesnt exist anymore" << endl; #endif //replace all \n with
- pos = 0; + size_t pos = 0; while((pos = mess.find("\n", pos)) != string::npos){ mess.replace(pos, 1, "
"); pos += 1;