diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-03-29 17:51:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:22 +0100 |
commit | 6426a1ea28404e13227c50ab4ebe6fe815506997 (patch) | |
tree | e1b5f7cf0240051c5adee42bafec6e31108aab68 /src/detector.c | |
parent | 966ea33baa2d3fdece830b52b1520d408fac9cf2 (diff) |
Fix geometry file comments
Diffstat (limited to 'src/detector.c')
-rw-r--r-- | src/detector.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c index 00eab10a..b3eb8faa 100644 --- a/src/detector.c +++ b/src/detector.c @@ -531,6 +531,8 @@ struct detector *get_detector_geometry(const char *filename) if ( rval == NULL ) break; chomp(line); + if ( line[0] == ';' ) continue; + n1 = assplode(line, " \t", &bits, ASSPLODE_NONE); if ( n1 < 3 ) { for ( i=0; i<n1; i++ ) free(bits[i]); |