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
93 }93 }
94#endif94#endif
95 95
96#ifdef _WIN3296 // ALT+F4 is used in FT2, but is "close program" in some cases...
97
98 // ALT+F4 is used in FT2, but is "close program" in Windows...
99#if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 4)97#if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 4)
100 SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");98 SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");
101#endif99#endif
102 100
101#ifdef _WIN32
103#ifndef _MSC_VER102#ifndef _MSC_VER
104 SetProcessDPIAware();103 SetProcessDPIAware();
105#endif104#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