History

Update ft2_main.c

Olav Sørensen committed 3 years ago

Commit d5e077a1 parent 00e1d901 file · +2 −3Browse files

Unified · Split

src/ft2_main.c+2−3
@@ -93,13 +93,12 @@ int main(int argc, char *argv[]) · 92 unmodified lines
9393 }
9494 #endif
9595
96−#ifdef _WIN32
97−
98− // ALT+F4 is used in FT2, but is "close program" in Windows...
96+ // ALT+F4 is used in FT2, but is "close program" in some cases...
9997 #if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 4)
10098 SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");
10199 #endif
102100
101+#ifdef _WIN32
103102 #ifndef _MSC_VER
104103 SetProcessDPIAware();
105104 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t