4DNav.file-chooser: fix compiler warning

db4
Slava Pestov 2009-04-17 20:42:51 -05:00
parent f4cdcaa1ce
commit bbd496e304
1 changed files with 3 additions and 5 deletions

View File

@ -92,11 +92,9 @@ file-chooser H{
;
: fc-load-file ( file-chooser file -- )
dupd [ selected-file>> ] [ name>> ] bi* swap set-model
[ path>> value>> ]
[ selected-file>> value>> append ]
[ hook>> ] tri
call
over [ name>> ] [ selected-file>> ] bi* set-model
[ [ path>> value>> ] [ selected-file>> value>> ] bi append ] [ hook>> ] bi
call( path -- )
; inline
! : fc-ok-action ( file-chooser -- quot )