diff --git a/Modules/IO/Meta/src/itkMetaImageIO.cxx b/Modules/IO/Meta/src/itkMetaImageIO.cxx index f6c2133cc0d..b63838103bc 100644 --- a/Modules/IO/Meta/src/itkMetaImageIO.cxx +++ b/Modules/IO/Meta/src/itkMetaImageIO.cxx @@ -637,7 +637,7 @@ MetaImageIO::WriteImageInformation() unsigned int i = 0; while (i < vval.size() - 1) { - strs << vval[++i] << ' '; + strs << vval[i++] << ' '; } strs << vval[i]; }