From: havoc Date: Sun, 14 Nov 2004 02:16:33 +0000 (+0000) Subject: someone removed the quotes around binds in Key_WriteBindings... added back so that... X-Git-Tag: xonotic-v0.1.0preview~5385 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e392f6dbc6574ebfd426a6036efc91026e2d29d6;p=xonotic%2Fdarkplaces.git someone removed the quotes around binds in Key_WriteBindings... added back so that bind ";" whatever doesn't wreck the config git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4750 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/keys.c b/keys.c index b522bb4b..52363ee0 100644 --- 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]); }