Skip to content

Commit

Permalink
PRC117F/PRC152 - Fix undefined macro (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Dec 12, 2024
1 parent 0ee35fe commit 1f55255
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .hemtt/lints.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
options.ignore = [
"addPublicVariableEventHandler", # Alt syntax is broken, we are using main syntax
]

[sqf.var_all_caps]
options.ignore = [
"ACRE_*"
]
2 changes: 2 additions & 0 deletions addons/sys_prc117f/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#define CHANNEL_NAME_MAX_LENGTH 12
#define CHANNEL_PADDING_STRING " " // Should be same length as CHANNEL_NAME_MAX_LENGTH

#define MAIN_DISPLAY (findDisplay 31337)

#include "\idi\acre\addons\sys_prc117f\menus\script_menus.hpp"

#include "\idi\acre\addons\sys_components\script_acre_component_defines.hpp"
Expand Down
2 changes: 2 additions & 0 deletions addons/sys_prc152/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#define CHANNEL_NAME_MAX_LENGTH 12
#define CHANNEL_PADDING_STRING " " // Should be same length as CHANNEL_NAME_MAX_LENGTH

#define MAIN_DISPLAY (findDisplay 31337)

#include "\idi\acre\addons\sys_prc152\menus\script_menus.hpp"

#include "\idi\acre\addons\sys_components\script_acre_component_defines.hpp"
Expand Down

0 comments on commit 1f55255

Please sign in to comment.