mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Fixed return code of term_init (resulted in segfault with invalid TERM and
termcap) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4076 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2779edc4f9
commit
f9345a7d3c
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ static int term_setup(TERM_REC *term)
|
||||||
if (tgetent(term->buffer1, term_env) < 1)
|
if (tgetent(term->buffer1, term_env) < 1)
|
||||||
{
|
{
|
||||||
fprintf(term->out, "Termcap not found for TERM=%s\n", term_env);
|
fprintf(term->out, "Termcap not found for TERM=%s\n", term_env);
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue