From 023103612eeeb8681b65ec5e9114d206b2d9a1dc Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Sat, 11 Jun 2022 21:45:23 +0530 Subject: Add screenshot of web UI to README.md, add back download button, misc. Added assert(0) to the end of main() in hitomezashi_web.c indicating that it is unreachable. --- web/hitomezashi_web.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/hitomezashi_web.c') diff --git a/web/hitomezashi_web.c b/web/hitomezashi_web.c index 994eaa5..7e756ff 100644 --- a/web/hitomezashi_web.c +++ b/web/hitomezashi_web.c @@ -3,6 +3,7 @@ #include "emscripten.h" #include "hitomezashi.h" #include "hitomezashi_utils.h" +#include #include #include #include @@ -21,7 +22,7 @@ int EMSCRIPTEN_KEEPALIVE main(void) { emscripten_set_main_loop(main_loop, -1, true); - return EXIT_SUCCESS; + assert(0); // This should never be reached } void EMSCRIPTEN_KEEPALIVE main_loop(void) { -- cgit v1.2.3-57-g22cb