aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-05-04 06:52:25 -0700
committerThomas White <taw@bitwiz.org.uk>2010-05-04 06:52:25 -0700
commit7a244aaae609940ec1800459472a1be620cc7853 (patch)
treee17fd460be5c4bbbf0d2b33a1cea387b53eae32e
parente3501a93626954a499b1a38e33011d36fb11129b (diff)
process_hkl: Handle old and new input formats
-rw-r--r--src/process_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 08dba4ac..e76835a0 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -353,7 +353,8 @@ int main(int argc, char *argv[])
int r;
rval = fgets(line, 1023, fh);
- if ( strncmp(line, "Reflections from indexing", 25) == 0 ) {
+ if ( (strncmp(line, "Reflections from indexing", 25) == 0)
+ || (strncmp(line, "New pattern", 11) == 0) ) {
/* Start of first pattern? */
if ( n_patterns == 0 ) {