Skip to content

Commit

Permalink
Use better function name
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Dec 2, 2015
1 parent f20837c commit ca1a82d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/byzanz-window/byzanz-window.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func record(arg *byzanzArg) error {
var xrectselRe = regexp.MustCompile(`(\d+)x(\d+)\+(\d+)\+(\d+)`)

func getSelectedRectangle() (*byzanzArg, error) {
rect, err := byzanz.SelectWindow()
rect, err := byzanz.SelectRectangle()
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion select_rectangle_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ type Rectangle struct {
Y int
}

func SelectWindow() (*Rectangle, error) {
func SelectRectangle() (*Rectangle, error) {
var tmp C.struct_rectangle

ret := int(C.select_region((*C.struct_rectangle)(unsafe.Pointer(&tmp))))
Expand Down

0 comments on commit ca1a82d

Please sign in to comment.