This commit is contained in:
Nuno Cruces 2021-03-08 01:12:32 +00:00
parent 4bc8c392da
commit ca9086e859
2 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ func pickFolders(opts options, multi bool) (str string, lst []string, err error)
_IID_IShellItem,
uintptr(unsafe.Pointer(&item)))
if hr >= 0 && item != nil {
if int32(hr) >= 0 && item != nil {
dialog.Call(dialog.vtbl.SetFolder, uintptr(unsafe.Pointer(item)))
item.Call(item.vtbl.Release)
}

2
msg.go
View File

@ -2,7 +2,7 @@ package zenity
// ErrExtraButton is returned by dialog functions when the extra button is
// pressed.
const ErrExtraButton = stringErr("Extra button pressed")
const ErrExtraButton = stringErr("extra button pressed")
// Question displays the question dialog.
//