Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
/ file-select Public archive
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions win32.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@
(let ((structure (cffi:foreign-alloc :pointer :count (* 2 (length filter)))))
(push structure strings)
(loop for i from 0 by 2
for (name type) in filter
for (name . types) in filter
do (setf (cffi:mem-aref structure :pointer (+ 0 i)) (wstring name))
(setf (cffi:mem-aref structure :pointer (+ 1 i)) (wstring (format NIL "*.~a" type))))
(setf (cffi:mem-aref structure :pointer (+ 1 i)) (wstring (format NIL "~{*.~a~^;~}" types))))
(file-dialog-set-file-types dialog (length filter) structure)))
(when default
(ignore-errors
Expand Down