aboutsummaryrefslogtreecommitdiffstats
path: root/main.m
diff options
context:
space:
mode:
authorTeddy Wing2021-03-07 17:54:19 +0100
committerTeddy Wing2021-03-07 17:54:19 +0100
commit8d3141717c257eff5af8ee1cdaa7f26328e38f6f (patch)
tree401f72dd163e1df2fbfb9fdecbffebf192287cdb /main.m
parent512387fb4935063abd42f4a52765312c0b6b552c (diff)
downloadRe-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.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.m b/main.m
index 94612ff..4a01357 100644
--- a/main.m
+++ b/main.m
@@ -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();