--- ghostscript-8.64/base/scfd.c.scfd	2008-08-07 06:20:08.000000000 +0100
+++ ghostscript-8.64/base/scfd.c	2009-03-31 15:22:31.000000000 +0100
@@ -329,7 +329,7 @@ ck_eol:
 		goto out;
 	    }
 	}
-	if (rows_left == 0) {
+	if (rows_left <= 0) {
 	    status = EOFC;
 	    goto out;
 	}
