diff options
Diffstat (limited to 'highlight.c')
-rw-r--r-- | highlight.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/highlight.c b/highlight.c index 86c0623d..cea56bf3 100644 --- a/highlight.c +++ b/highlight.c @@ -533,14 +533,9 @@ void highlight_shell( wchar_t * buff, void *context; wchar_t *cmd=0; - if( !buff || !color ) - { - debug( 0, L"%s called with null input", __func__ ); - return; - } - + CHECK( buff, ); + CHECK( color, ); - len = wcslen(buff); if( !len ) |