libobs: Fix Numpad Minus naming in UI

OBS_KEY_NUMMINUS was not included in the key to string function so it
was reported as a regular minus.
This commit is contained in:
Kurt Kartaltepe 2021-12-11 17:56:59 -08:00 committed by Georges Basile Stavracas Neto
parent 080090c40e
commit 21fdd83b7e

View file

@ -1179,6 +1179,8 @@ static void obs_nix_x11_key_to_str(obs_key_t key, struct dstr *dstr)
return translate_key(key, "Numpad *");
case OBS_KEY_NUMPLUS:
return translate_key(key, "Numpad +");
case OBS_KEY_NUMMINUS:
return translate_key(key, "Numpad -");
case OBS_KEY_NUMCOMMA:
return translate_key(key, "Numpad ,");
case OBS_KEY_NUMPERIOD: