aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-03-29 17:51:24 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:22 +0100
commit6426a1ea28404e13227c50ab4ebe6fe815506997 (patch)
treee1b5f7cf0240051c5adee42bafec6e31108aab68 /src
parent966ea33baa2d3fdece830b52b1520d408fac9cf2 (diff)
Fix geometry file comments
Diffstat (limited to 'src')
-rw-r--r--src/detector.c2
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]);