mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.0018
This commit is contained in:
@@ -2979,6 +2979,18 @@ convert_filter(char_u *s)
|
||||
return res;
|
||||
}
|
||||
|
||||
/*
|
||||
* Select a directory.
|
||||
*/
|
||||
char_u *
|
||||
gui_mch_browsedir(char_u *title, char_u *initdir)
|
||||
{
|
||||
/* We fake this: Use a filter that doesn't select anything and a default
|
||||
* file name that won't be used. */
|
||||
return gui_mch_browse(0, title, (char_u *)_("Not Used"), NULL,
|
||||
initdir, (char_u *)_("Directory\t*.nothing\n"));
|
||||
}
|
||||
|
||||
/*
|
||||
* Pop open a file browser and return the file selected, in allocated memory,
|
||||
* or NULL if Cancel is hit.
|
||||
|
Reference in New Issue
Block a user