Skip to content

Commit

Permalink
osx: fix build (missing argument)
Browse files Browse the repository at this point in the history
Fixes sqweek#69. Closes sqweek#70.
  • Loading branch information
TianYaX authored and sqweek committed Aug 9, 2022
1 parent 0e16870 commit e981b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocoa/dlg_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func DirDlg(title string, startDir string) (string, error) {
return fileDlg(C.DIRDLG, title, nil, false, startDir, "")
}

func fileDlg(mode int, title string, exts []string, relaxExt bool, startDir string) (string, error) {
func fileDlg(mode int, title string, exts []string, relaxExt bool, startDir, filename string) (string, error) {
p := C.FileDlgParams{
mode: C.int(mode),
nbuf: BUFSIZE,
Expand Down

0 comments on commit e981b27

Please sign in to comment.