summaryrefslogtreecommitdiff
path: root/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
blob: a52a10269bc1c4ac842b0faacf13bfee2922b0ab (plain)
    1 Index: src/tabbar.c
    2 ===================================================================
    3 --- src/tabbar.c	(revision 337)
    4 +++ src/tabbar.c	(working copy)
    5 @@ -1327,7 +1327,7 @@
    6  		if( p.we_wordc > 1)
    7  		    rxvt_msg( DBG_ERROR, DBG_TABBAR,
    8  			    "Too many words when expanding %s\n", cwdOption );
    9 -		else
   10 +		else if( NOT_NULL( *p.we_wordv ) )
   11  		{
   12  		    filename = *p.we_wordv;
   13  

Generated by cgit