aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mosflm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mosflm.c b/src/mosflm.c
index 6f27eb7d..11642cc8 100644
--- a/src/mosflm.c
+++ b/src/mosflm.c
@@ -397,7 +397,7 @@ static int mosflm_readable(struct image *image, struct mosflm_data *mosflm)
/* Means the last value looked at is rbufpos-2 */
/* Is there a prompt in the buffer? */
- if ( (i+7 <= mosflm->rbufpos)
+ if ( (i+10 <= mosflm->rbufpos)
&& (!strncmp(mosflm->rbuffer+i, "MOSFLM => ", 10)) ) {
block_ready = 1;
type = MOSFLM_INPUT_PROMPT;