fix Readme typos

This commit is contained in:
2025-10-30 12:21:31 +03:00
committed by Pavel Kulyov
parent fc332311d3
commit 904a6fe3c9

View File

@@ -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)))
...) ...)