diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-19 05:16:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-19 05:16:18 +0300 |
commit | db8f662cc980a6746de2b8d5f45e74d20ea9085f (patch) | |
tree | 94139ef6430c7b098fa978d8673aeaef321f821f /source/blender/windowmanager | |
parent | 472b1147610088de233948fcbd7ac4d992da3e36 (diff) |
Cleanup: use define for key-config string
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index 06ae1e498b7..866c846810b 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -241,13 +241,13 @@ void WM_keyconfig_init(bContext *C) /* create standard key configs */ if (wm->defaultconf == NULL) { /* Keep lowercase to match the preset filename. */ - wm->defaultconf = WM_keyconfig_new(wm, "blender", false); + wm->defaultconf = WM_keyconfig_new(wm, WM_KEYCONFIG_STR_DEFAULT, false); } if (wm->addonconf == NULL) { - wm->addonconf = WM_keyconfig_new(wm, "blender addon", false); + wm->addonconf = WM_keyconfig_new(wm, WM_KEYCONFIG_STR_DEFAULT " addon", false); } if (wm->userconf == NULL) { - wm->userconf = WM_keyconfig_new(wm, "blender user", false); + wm->userconf = WM_keyconfig_new(wm, WM_KEYCONFIG_STR_DEFAULT " user", false); } /* initialize only after python init is done, for keymaps that |