Add missing sentinel value in function call - potential crash bug

darcs-hash:20070324190423-ac50b-e32dddfd98131c542133b98a8c49bc3d9c345fec.gz
This commit is contained in:
axel 2007-03-25 05:04:23 +10:00
parent 8fe90e4327
commit f6b3fcb4f5

View file

@ -552,7 +552,7 @@ void reader_write_title()
{
char *n = ttyname( STDIN_FILENO );
if( contains_str( term, L"linux" ) )
if( contains_str( term, L"linux", (void *)0 ) )
{
return;
}