fixed a bug in the error checking code

svn: r7288
This commit is contained in:
Robby Findler 2007-09-07 01:12:56 +00:00
parent ff21641af2
commit 338a77f341

View File

@ -89,7 +89,7 @@
[nh (string->number h)])
(unless (and nw (< 0 nw 10000))
(die 'slideshow "bad width: ~e" w))
(unless (and nw (< 0 nh 10000))
(unless (and nh (< 0 nh 10000))
(die 'slideshow "bad height: ~e" h))
(set! actual-screen-w nw)
(set! actual-screen-h nh)))