os: typo in wait

pull/3715/head
yuyi 2020-02-11 01:48:01 +08:00 committed by GitHub
parent d5f90ef64b
commit c1c2b648ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -56,3 +56,4 @@ info.log
# vim/emacs editor backup files
*~
thirdparty/freetype/

View File

@ -1063,7 +1063,7 @@ pub fn wait() int {
$if !windows {
pid = C.wait(0)
}
$if !windows {
$if windows {
panic('os.wait not supported in windows') // TODO
}
return pid