Fix parsing canvas width
This commit is contained in:
parent
931f4d8aa4
commit
01c982fada
@ -910,7 +910,8 @@
|
||||
|
||||
(let ((canvas-width
|
||||
(let ((v (assoc "width" query)))
|
||||
(and v (string->number (cadr v)) DEFAULT-CANVAS-WIDTH))))
|
||||
(or (and v (string->number (cadr v)))
|
||||
DEFAULT-CANVAS-WIDTH))))
|
||||
(make-response
|
||||
(make-log-html log vcd canvas-width)
|
||||
#:content-type 'text/plain)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user