Commit 47536147 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Change to better null trimming in parser.

parent 9e7e57ae
......@@ -90,9 +90,8 @@
(u16vector-ref (get-bytevector-n port (sizeof unsigned)) 0) ; width
(u16vector-ref (get-bytevector-n port (sizeof unsigned)) 0) ; height
(string-filter ; name
(bytevector->string (get-bytevector-n port 16) "ASCII")
(lambda (c) (not (eq? c #\nul))))
(string-trim-right (bytevector->string (get-bytevector-n port 16) "ASCII")
;; (bytevector->string (get-bytevector-n port 4) "ASCII") ; "!ID!"
(get-offsets maphead)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment