提交 21635f71 编写于 作者: N Nigel Tao

freetype: update for os.Open changes.

R=adg, r2
CC=golang-dev
http://codereview.appspot.com/4386048
上级 380b6363
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册