aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2021-11-24 12:38:25 +0100
committerGitHub <noreply@github.com>2021-11-24 12:38:25 +0100
commit0262988671d41a2828614822ebad645cf9b780b9 (patch)
tree84a4ec791f89632543b7ec2eba2adc4c4b289adf /config.def.h
parent7d87e6e412badab61fe67b9a00ca686195631e05 (diff)
downloadnsxiv-0262988671d41a2828614822ebad645cf9b780b9.tar.zst
rename: keyhandler_abort -> KEYHANDLER_ABORT (#172)
with the exception of arrays, all other var names in config.h are in ALL CAPS. since keyhandler_abort is an unreleased feature, it should be okay to rename it for consistency. though.. in the future we should be more careful about naming when adding new vars to config.h (or the codebase in general.)
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 1ccf5a4..7f7e74c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -75,7 +75,7 @@ static const int THUMB_SIZE = 3;
static const int ignore_mask = Mod2Mask | LockMask;
/* abort the keyhandler */
-static const KeySym keyhandler_abort = XK_Escape;
+static const KeySym KEYHANDLER_ABORT = XK_Escape;
/* keyboard mappings for image and thumbnail mode: */
static const keymap_t keys[] = {