fix "cannot use v (variable of type *Image) as Image value in return statement"
This commit is contained in:
parent
aee70123d7
commit
9e7c7db0ec
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ func GetClipboardText() string {
|
|||
func GetClipboardImage() Image {
|
||||
ret := C.GetClipboardImage()
|
||||
v := newImageFromPointer(unsafe.Pointer(&ret))
|
||||
return v
|
||||
return *v
|
||||
}
|
||||
|
||||
// EnableEventWaiting - Enable waiting for events on EndDrawing(), no automatic event polling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue