blob: 80b3eeb0c45a1e625b5d66b92ee8f000085e098e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- src/gui/sdl_gui.cpp.orig 2024-10-02 06:16:36 UTC
+++ src/gui/sdl_gui.cpp
@@ -3888,6 +3888,7 @@ void GUI_Shortcut(int select) {
shortcutid=select;
shortcut=true;
sel = select;
+#ifndef __FreeBSD__
#if defined(USE_TTF)
if (ttf.inUse && !confres) {
ttf_switch_off();
@@ -3897,12 +3898,14 @@ void GUI_Shortcut(int select) {
} else
#endif
RunCfgTool(0);
+#endif
}
void GUI_Run(bool pressed) {
if (pressed || running) return;
sel = -1;
+#ifndef __FreeBSD__
#if defined(USE_TTF)
if (ttf.inUse) {
ttf_switch_off();
@@ -3912,4 +3915,5 @@ void GUI_Run(bool pressed) {
} else
#endif
RunCfgTool(0);
+#endif
}
|