summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.go b/button.go
index 17a729f..2696f82 100644
--- a/button.go
+++ b/button.go
@@ -49,7 +49,7 @@ func (b *Button) Destroy() {
}
// LibuiControl returns the libui uiControl pointer that backs
-// the Window. This is only used by package ui itself and should
+// the Button. This is only used by package ui itself and should
// not be called by programs.
func (b *Button) LibuiControl() uintptr {
return uintptr(unsafe.Pointer(b.c))