* lisp/term/haiku-win.el (x-file-dialog): Fix up prompt to look
better.
* src/haiku_support.cc (be_popup_file_dialog): Remove duplicate
call to `Show'.
(defun x-file-dialog (prompt dir default_filename mustmatch only_dir_p)
"SKIP: real doc in xfns.c."
(if (eq (framep-on-display (selected-frame)) 'haiku)
- (haiku-read-file-name prompt (selected-frame)
+ (haiku-read-file-name (if (not (string-suffix-p ": " prompt))
+ prompt
+ (substring prompt 0 (- (length prompt) 2)))
+ (selected-frame)
(or dir (and default_filename
(file-name-directory default_filename)))
mustmatch only_dir_p
be_popup_file_dialog_safe_set_target (panel, w);
panel->Show ();
- panel->Window ()->Show ();
unblock_input_function ();
void *buf = alloca (200);