2939: print out modifiers when unbinding r=def- a=plsplsplslol



Co-authored-by: plsplsplslol <alpootagpro@gmail.com>
This commit is contained in:
bors[bot] 2020-09-28 05:58:17 +00:00 committed by GitHub
commit 1b07ac9e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ void CBinds::Bind(int KeyID, const char *pStr, bool FreeOnly, int Modifier)
char aBuf[256];
if(!pStr[0])
{
str_format(aBuf, sizeof(aBuf), "unbound %s (%d)", Input()->KeyName(KeyID), KeyID);
str_format(aBuf, sizeof(aBuf), "unbound %s%s (%d)", GetKeyBindModifiersName(Modifier), Input()->KeyName(KeyID), KeyID);
}
else
{