foxygit / doom Log in
commit de979570b694ba56b7196a4fe339ff7292fe8fe5
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Dec 17 20:57:36 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Dec 17 20:57:36 2006 +0000

    Make numbers in the chat macros configuration screen match the keyboard
    keys used to activate them.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 785
---
 setup/multiplayer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup/multiplayer.c b/setup/multiplayer.c
index 74da82b5..f55a7f8c 100644
--- a/setup/multiplayer.c
+++ b/setup/multiplayer.c
@@ -513,7 +513,7 @@ void MultiplayerConfig(void)

         TXT_AddWidgets(table,
                        label,
-                       TXT_NewInputBox(&chat_macros[i], 40),
+                       TXT_NewInputBox(&chat_macros[(i + 1) % 10], 40),
                        NULL);
     }