Skip to content

Commit c8df366

Browse files
authored
Merge pull request #694 from go-vgo/bitmap-pr
Update: update readme.md
2 parents ecc260e + 70f811c commit c8df366

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ func main() {
277277
robotgo.Save(img2, "test_"+strconv.Itoa(i)+".png")
278278

279279
x, y, w, h := robotgo.GetDisplayBounds(i)
280-
img3, err := robotgo.CaptureImg(x, y, w, h)
281-
fmt.Println("Capture error: ", err)
282-
robotgo.Save(img3, path1+"_1.png")
280+
img3, err := robotgo.CaptureImg(x, y, w, h)
281+
fmt.Println("Capture error: ", err)
282+
robotgo.Save(img3, path1+"_1.png")
283283
}
284284
}
285285
```

0 commit comments

Comments
 (0)