mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Add missing sentinel value in function call - potential crash bug
darcs-hash:20070324190423-ac50b-e32dddfd98131c542133b98a8c49bc3d9c345fec.gz
This commit is contained in:
parent
8fe90e4327
commit
f6b3fcb4f5
1 changed files with 1 additions and 1 deletions
2
reader.c
2
reader.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue