fix length use
svn: r10789
This commit is contained in:
parent
ba78420428
commit
8cca45792c
|
@ -154,7 +154,7 @@
|
||||||
(define/public (data->snip data)
|
(define/public (data->snip data)
|
||||||
(cond
|
(cond
|
||||||
[(not (list? data)) (make-null-cache-image-snip)]
|
[(not (list? data)) (make-null-cache-image-snip)]
|
||||||
[(= (length data 4))
|
[(= (length data) 4)
|
||||||
;; this is the case for old save files
|
;; this is the case for old save files
|
||||||
;; if the width is zero, the height
|
;; if the width is zero, the height
|
||||||
;; will automatically also be zero
|
;; will automatically also be zero
|
||||||
|
|
Loading…
Reference in New Issue
Block a user