aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ) {