Fixes the other IRC plugin crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3137 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
37fbf203c5
commit
dad710ee27
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ console_t *Con_FindConsole(char *name)
|
||||||
console_t *Con_Create(char *name)
|
console_t *Con_Create(char *name)
|
||||||
{
|
{
|
||||||
console_t *con;
|
console_t *con;
|
||||||
con = BZ_Malloc(sizeof(console_t));
|
con = Z_Malloc(sizeof(console_t));
|
||||||
Q_strncpyz(con->name, name, sizeof(con->name));
|
Q_strncpyz(con->name, name, sizeof(con->name));
|
||||||
|
|
||||||
Con_ResizeCon(con);
|
Con_ResizeCon(con);
|
||||||
|
|
Loading…
Reference in a new issue