void ui_popup_end(void);
void ui_init_open_file(const char *dir, int (*filter)(const char *fn));
-int ui_open_file(char filename[], const char *label);
+int ui_open_file(char *filename, const char *label);
void ui_init_save_file(const char *path, int (*filter)(const char *fn));
-int ui_save_file(char filename[], void (*extra_panel)(void), const char *label);
+int ui_save_file(char *filename, void (*extra_panel)(void), const char *label);
void ui_show_warning_dialog(const char *fmt, ...);
void ui_show_error_dialog(const char *fmt, ...);
load_dir(dir);
}
-int ui_open_file(char filename[PATH_MAX], const char *label)
+int ui_open_file(char *filename, const char *label)
{
static int last_click_time = 0;
static int last_click_sel = -1;
return rv;
}
-int ui_save_file(char filename[PATH_MAX], void (*extra_panel)(void), const char *label)
+int ui_save_file(char *filename, void (*extra_panel)(void), const char *label)
{
int i, rv = 0;
#ifdef _WIN32
-char *fz_realpath(const char *path, char buf[PATH_MAX])
+char *fz_realpath(const char *path, char *buf)
{
wchar_t wpath[PATH_MAX];
wchar_t wbuf[PATH_MAX];
#else
-char *fz_realpath(const char *path, char buf[PATH_MAX])
+char *fz_realpath(const char *path, char *buf)
{
return realpath(path, buf);
}