that /looked/ wrong :/

This commit is contained in:
Bill Currie 2007-04-07 05:36:06 +00:00 committed by Jeff Teunissen
parent d8b701608c
commit f621570dee

View file

@ -62,7 +62,7 @@ Con_CreateInputLine (int lines, int lsize, char prompt)
inputline = calloc (1, size); inputline = calloc (1, size);
p = (char **) (inputline + 1); p = (char **) (inputline + 1);
l = p[lines]; l = (char *) &p[lines];
inputline->lines = p; inputline->lines = p;
inputline->num_lines = lines; inputline->num_lines = lines;