Skip to content

Commit b4418cb

Browse files
committed
updated ancmp & fixed 0.11.1
1 parent e5a6edd commit b4418cb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ancmp

ninecraft/src/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,11 @@ static void key_callback(struct SDL_Window *window, int key, int scancode, int a
967967
} else if (version_id >= version_id_0_1_1 && key == SDLK_ESCAPE) {
968968
if (action == SDL_KEYDOWN) {
969969
if (version_id >= version_id_0_10_0) {
970+
#ifdef _WIN32
971+
call_with_custom_stack(minecraft_client_handle_back, NULL, 1024*1024, 2, ninecraft_app, false);
972+
#else
970973
minecraft_client_handle_back(ninecraft_app, false);
974+
#endif
971975
} else {
972976
ninecraft_app_handle_back(ninecraft_app, false);
973977
}

0 commit comments

Comments
 (0)