Restore this variable, as it's used when terminfo isn't available.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@288 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-07-15 03:48:43 +00:00
parent 3b509dfa52
commit 2d80cbb680

View File

@@ -875,6 +875,8 @@ int term_init (char *term)
} }
else else
{ {
char *tmp = termcap2;
cval = Tgetstr(tcaps[i], tmp); cval = Tgetstr(tcaps[i], tmp);
if (cval == (char *) -1) if (cval == (char *) -1)
*(char **)tcaps[i].ptr = NULL; *(char **)tcaps[i].ptr = NULL;