Skip to content

Commit

Permalink
Arsenal - Fix duplicate defines (#10380)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Oct 11, 2024
1 parent c1d4ecf commit b82f80a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions addons/arsenal/defines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@
#define WIDTH_SINGLE ((WIDTH_TOTAL - 7 * WIDTH_GAP) / 6)

// IDDs
#ifndef IDD_MISSION
#define IDD_MISSION 46
#endif
#define IDD_RSCDISPLAYCURATOR 312
#define IDD_DISPLAY3DEN 313

#ifndef IDC_OK
#define IDC_OK 1 // emulate "OK" button
#endif
#ifndef IDC_CANCEL
#define IDC_CANCEL 2 // emulate "Cancel" button
#endif

// Sorting
#define ASCENDING 0
Expand Down
2 changes: 1 addition & 1 deletion addons/arsenal/functions/fnc_itemInfo.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
#include "..\defines.hpp"
#include "\a3\ui_f\hpp\defineResincl.inc"
#include "..\defines.hpp"
/*
* Author: Alganthe, johnb43
* Update arsenal's info box.
Expand Down
2 changes: 1 addition & 1 deletion addons/arsenal/functions/fnc_onPanelDblClick.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
#include "..\defines.hpp"
#include "\a3\ui_f\hpp\defineResincl.inc"
#include "..\defines.hpp"
/*
* Author: LinkIsGrim
* Add or remove item(s) to favorites when LShift is pressed
Expand Down
2 changes: 1 addition & 1 deletion addons/arsenal/functions/fnc_onSelChangedLeft.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
#include "..\defines.hpp"
#include "\a3\ui_f\hpp\defineResincl.inc"
#include "..\defines.hpp"
/*
* Author: Alganthe, johnb43
* Handles selection changes on the left panel.
Expand Down

0 comments on commit b82f80a

Please sign in to comment.