diff options
| author | Teddy Wing | 2021-03-07 17:54:19 +0100 |
|---|---|---|
| committer | Teddy Wing | 2021-03-07 17:54:19 +0100 |
| commit | 8d3141717c257eff5af8ee1cdaa7f26328e38f6f (patch) | |
| tree | 401f72dd163e1df2fbfb9fdecbffebf192287cdb /main.m | |
| parent | 512387fb4935063abd42f4a52765312c0b6b552c (diff) | |
| download | Re-Good-Catalina-Invert-Colours-8d3141717c257eff5af8ee1cdaa7f26328e38f6f.tar.bz2 | |
Make `E_REGISTER_HOTKEY` a static constant
Probably better type checking with this than the `#define`.
Diffstat (limited to 'main.m')
| -rw-r--r-- | main.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ #import "Invert.h" #import "DDHotKeyCenter.h" -#define E_REGISTER_HOTKEY 5 +static const int E_REGISTER_HOTKEY = 5; int register_hotkeys(); |
