1
0
forked from alex-eg/sex

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)
(begin
(puts ,message)
(return ,ret-code))))
(return ,ret-code)))))
(pub fn init () int
(check-sdl-return
@@ -132,8 +132,8 @@ return Sex code.
...)
#+end_src
->
#+begin_src c
(pub fn init () init
#+begin_src scheme
(pub fn init () int
(if (< 0 (SDL_Init SDL_INIT_VIDEO))
(begin (puts "Failed to initialize SDL") (return 1)))
...)