ref: 7c6a629b5407f0acfd1df7235903f475156051de
parent: d5e077adef7df6a5f08aee7fcad27fa75473ddcf
author: Olav Sørensen <olav.sorensen@live.no>
date: Wed Aug 16 08:01:41 EDT 2023
Update ft2_main.c
--- a/src/ft2_main.c
+++ b/src/ft2_main.c
@@ -95,7 +95,7 @@
// ALT+F4 is used in FT2, but is "close program" in some cases...
#if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 4)
- SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");
+ SDL_SetHint("SDL_WINDOWS_NO_CLOSE_ON_ALT_F4", "1");
#endif
#ifdef _WIN32