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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user