diff --git a/methods/Method_D.cpp b/methods/Method_D.cpp index 42eba1bd1b75b35a5c0e02c5c5caec24e9d5b0f2..560dafa7af3df83854185ccb3f8b75cba2a1c0a7 100644 --- a/methods/Method_D.cpp +++ b/methods/Method_D.cpp @@ -129,7 +129,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio int frid = frameNr + minFrame; //padd the frameid with 0 std::ostringstream ss; - ss << std::setw(5) << std::setfill('0') << frid; + ss << std::setw(5) << std::setfill('0') << std::internal << frid; const std::string str_frid = ss.str(); if(!(frid%50)) {