ft2-clone

Fasttracker 2 clone
Log | Files | Refs | README | LICENSE

commit d5e077adef7df6a5f08aee7fcad27fa75473ddcf
parent 00e1d902b0391ce80e40e42071abcf6a95314ff8
Author: Olav Sørensen <olav.sorensen@live.no>
Date:   Wed, 16 Aug 2023 12:00:31 +0200

Update ft2_main.c

Diffstat:
Msrc/ft2_main.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/ft2_main.c b/src/ft2_main.c @@ -93,13 +93,12 @@ int main(int argc, char *argv[]) } #endif -#ifdef _WIN32 - - // ALT+F4 is used in FT2, but is "close program" in Windows... + // 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"); #endif +#ifdef _WIN32 #ifndef _MSC_VER SetProcessDPIAware(); #endif