]> Creatis software - clitk.git/commitdiff
Previous warning fix introduced a bug. Fixed
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 2 Feb 2012 17:05:17 +0000 (18:05 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 2 Feb 2012 17:05:17 +0000 (18:05 +0100)
common/clitkXdrImageIOReader.cxx

index ee3f50b070658a4f504dd3f15a735486a3d06bed..ea476d7c4dffa1e10c6d607d4f9d3182ec1aa875 100644 (file)
@@ -760,7 +760,7 @@ int clitk::XdrImageIO::ReadWithError(void * buffer)
   c = scan_header(file, "field", offset, 1);
   if (c) {
     if (memicmp(c, "unifo", 5) == 0) /*field=UNIFORM,*/ coords=nspace*2;
-    // else if (memicmp(c, "recti", 5) == 0) field=RECTILINEAR;
+    else if (memicmp(c, "recti", 5) == 0) /*field=RECTILINEAR*/;
     else if (memicmp(c, "irreg", 5) == 0) /*field=IRREGULAR,*/ coords=total*nspace;
     else return ER_XDR_FIELD;
   } else