changeset 5200:022c957633a3

10L bug fix. Thx to Fredrik Kuivinen <freku045@student.liu.se>.
author albeu
date Tue, 19 Mar 2002 18:27:54 +0000
parents 72817be5265f
children 40c6df15c3df
files input/input.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Tue Mar 19 15:08:15 2002 +0000
+++ b/input/input.c	Tue Mar 19 18:27:54 2002 +0000
@@ -463,6 +463,9 @@
       cmd->args[i].v.s = strdup(cmd_def->args[i].v.s);
   }
 
+  if(i < MP_CMD_MAX_ARGS)
+    cmd->args[i].type = -1;
+
   return cmd;
 }