summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/settings_gui.c b/settings_gui.c
index d4718f381..8fdc80464 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -672,10 +672,10 @@ int32 v_PositionMainToolbar(int32 p1)
int32 AiNew_PatchActive_Warning(int32 p1)
{
- if (p1 == 1)
- ShowErrorMessage(-1, TEMP_AI_ACTIVATED, 0, 0);
-
- return 0;
+ if (p1 == 1)
+ ShowErrorMessage(-1, TEMP_AI_ACTIVATED, 0, 0);
+
+ return 0;
}
int32 InvisibleTreesActive(int32 p1)
@@ -685,9 +685,6 @@ int32 InvisibleTreesActive(int32 p1)
}
typedef int32 PatchButtonClick(int32);
-static PatchButtonClick * const _patch_button_proc[] = {
- &v_PositionMainToolbar,
-};
typedef struct PatchEntry {
byte type; // type of selector