diff options
Diffstat (limited to 'src/m_controls.c')
-rw-r--r-- | src/m_controls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m_controls.c b/src/m_controls.c index 792c7406..73e81b1b 100644 --- a/src/m_controls.c +++ b/src/m_controls.c @@ -28,6 +28,7 @@ #include "doomkeys.h" #include "m_config.h" +#include "m_misc.h" // // Keyboard controls @@ -385,7 +386,7 @@ void M_BindChatControls(unsigned int num_players) for (i=0; i<num_players; ++i) { - snprintf(name, sizeof(name), "key_multi_msgplayer%i", i + 1); + M_snprintf(name, sizeof(name), "key_multi_msgplayer%i", i + 1); M_BindVariable(name, &key_multi_msgplayer[i]); } } |