]> git.sur5r.net Git - i3/i3/commit - i3bar/src/child.c
i3bar: check block text for NULL
authorTony Crisci <tony@dubstepdish.com>
Tue, 24 Mar 2015 09:45:20 +0000 (05:45 -0400)
committerTony Crisci <tony@dubstepdish.com>
Tue, 24 Mar 2015 09:45:20 +0000 (05:45 -0400)
commit0962c7f011b0e8e68eae23ae1842989b39b41603
tree0e3436baead9148ba88877d4f9a4f186da12d0f6
parent822cd3bf1b95a61667bfa186ff2093ecd317a3a6
i3bar: check block text for NULL

Add a null check to `full_text` and `short_text` for a block before
setting the markup property to avoid a segfault.
i3bar/src/child.c