]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
someone removed the quotes around binds in Key_WriteBindings... added back so that...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Nov 2004 02:16:33 +0000 (02:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Nov 2004 02:16:33 +0000 (02:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4750 d7cf8633-e32d-0410-b094-e92efae38249

keys.c

diff --git a/keys.c b/keys.c
index b522bb4b816d37d1d731ea09fde3ba8abe762001..52363ee0c62f8013889bbd999fd062461f49ae7f 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -792,12 +792,12 @@ Key_WriteBindings (qfile_t *f)
 
        for (i = 0; i < (int)(sizeof(keybindings[0])/sizeof(keybindings[0][0])); i++)
                if (keybindings[0][i])
-                       FS_Printf(f, "bind %s \"%s\"\n",
+                       FS_Printf(f, "bind \"%s\" \"%s\"\n",
                                        Key_KeynumToString (i), keybindings[0][i]);
        for (j = 1; j < 8; j++)
                for (i = 0; i < (int)(sizeof(keybindings[0])/sizeof(keybindings[0][0])); i++)
                        if (keybindings[j][i])
-                               FS_Printf(f, "in_bind %d %s \"%s\"\n",
+                               FS_Printf(f, "in_bind %d \"%s\" \"%s\"\n",
                                                j, Key_KeynumToString (i), keybindings[j][i]);
 }