ui: Bug fix: RunWithoutMainLoop must return a chan

This commit is contained in:
Hajime Hoshi 2016-05-22 02:20:14 +09:00
parent c36dd3df52
commit 296282435a

2
run.go
View File

@ -77,7 +77,7 @@ func RunWithoutMainLoop(f func(*Image) error, width, height, scale int, title st
} }
close(ch) close(ch)
}() }()
return nil return ch
} }
// SetScreenSize changes the (logical) size of the screen. // SetScreenSize changes the (logical) size of the screen.