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