mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Merge #2939
2939: print out modifiers when unbinding r=def- a=plsplsplslol Co-authored-by: plsplsplslol <alpootagpro@gmail.com>
This commit is contained in:
commit
1b07ac9e4a
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue