Fixes.
This commit is contained in:
parent
4bc8c392da
commit
ca9086e859
2 changed files with 2 additions and 2 deletions
|
@ -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
2
msg.go
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue