fix Readme typos
This commit is contained in:
@@ -124,7 +124,7 @@ return Sex code.
|
|||||||
`(if (< 0 ,call)
|
`(if (< 0 ,call)
|
||||||
(begin
|
(begin
|
||||||
(puts ,message)
|
(puts ,message)
|
||||||
(return ,ret-code))))
|
(return ,ret-code)))))
|
||||||
|
|
||||||
(pub fn init () int
|
(pub fn init () int
|
||||||
(check-sdl-return
|
(check-sdl-return
|
||||||
@@ -132,8 +132,8 @@ return Sex code.
|
|||||||
...)
|
...)
|
||||||
#+end_src
|
#+end_src
|
||||||
->
|
->
|
||||||
#+begin_src c
|
#+begin_src scheme
|
||||||
(pub fn init () init
|
(pub fn init () int
|
||||||
(if (< 0 (SDL_Init SDL_INIT_VIDEO))
|
(if (< 0 (SDL_Init SDL_INIT_VIDEO))
|
||||||
(begin (puts "Failed to initialize SDL") (return 1)))
|
(begin (puts "Failed to initialize SDL") (return 1)))
|
||||||
...)
|
...)
|
||||||
|
|||||||
Reference in New Issue
Block a user