From 214e8fb240af99de593f18965c9542fcf00ac81a Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 2 Feb 2012 18:05:17 +0100 Subject: [PATCH] Previous warning fix introduced a bug. Fixed --- common/clitkXdrImageIOReader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/clitkXdrImageIOReader.cxx b/common/clitkXdrImageIOReader.cxx index ee3f50b..ea476d7 100644 --- a/common/clitkXdrImageIOReader.cxx +++ b/common/clitkXdrImageIOReader.cxx @@ -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 -- 2.47.1