aboutsummaryrefslogtreecommitdiffstats
path: root/x11/mrxvt/files/patch-src_tabbar.c
blob: 9ea22f8078bc300fe987884ad7c42d24ea1d1cc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/tabbar.c.orig	2024-03-13 19:45:34 UTC
+++ src/tabbar.c
@@ -1314,7 +1314,7 @@ rxvt_append_page( rxvt_t* r, int profile,
 		if( p.we_wordc > 1)
 		    rxvt_msg( DBG_ERROR, DBG_TABBAR,
 			    "Too many words when expanding %s\n", cwdOption );
-		else
+		else if( NOT_NULL( *p.we_wordv ) )
 		{
 		    filename = *p.we_wordv;