freetype: update for os.Open changes.
R=adg, r2 CC=golang-dev http://codereview.appspot.com/4386048
This commit is contained in:
parent
380b6363b2
commit
21635f71f4
4 changed files with 4 additions and 4 deletions
|
@ -113,7 +113,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Save that RGBA image to disk.
|
||||
f, err := os.Open("out.png", os.O_CREAT|os.O_WRONLY, 0600)
|
||||
f, err := os.Create("out.png")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
|
@ -66,7 +66,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Save that RGBA image to disk.
|
||||
f, err := os.Open("out.png", os.O_CREAT|os.O_WRONLY, 0600)
|
||||
f, err := os.Create("out.png")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
|
@ -153,7 +153,7 @@ func main() {
|
|||
showNodes(rgba, inside)
|
||||
|
||||
// Save that RGBA image to disk.
|
||||
f, err := os.Open("out.png", os.O_CREAT|os.O_WRONLY, 0600)
|
||||
f, err := os.Create("out.png")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
|
@ -78,7 +78,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Save that RGBA image to disk.
|
||||
f, err := os.Open("out.png", os.O_CREAT|os.O_WRONLY, 0600)
|
||||
f, err := os.Create("out.png")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Reference in a new issue