We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bd1721 commit b73a5a3Copy full SHA for b73a5a3
st.c
@@ -960,7 +960,7 @@ void main_loop(void)
960
#ifdef __EMSCRIPTEN__
961
emscripten_cancel_main_loop();
962
#else
963
- exit(0);
+ exit(EXIT_SUCCESS);
964
#endif
965
}
966
@@ -1028,11 +1028,11 @@ int main(void)
1028
1029
emscripten_set_main_loop(main_loop, 0, true);
1030
1031
- while (1) {
+ while (true) {
1032
main_loop();
1033
SDL_Delay(1000/60);
1034
1035
1036
1037
- return 0;
+ return EXIT_SUCCESS;
1038
0 commit comments