]> git.mdlowis.com Git - proto/labwc.git/commit
osd-thumbnail: make sure item->{normal,active}_title are non-null
authortokyo4j <hrak1529@gmail.com>
Sun, 12 Oct 2025 14:59:04 +0000 (23:59 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Mon, 13 Oct 2025 17:27:13 +0000 (02:27 +0900)
commit27cc7389856d34c3d289b01f5b4c677690cd7aeb
treeda40b1aff3398b673ad1d09951199fcfb81cc178
parentda96513e70d6f3b9377cf78be5a5dab2cf82fcd1
osd-thumbnail: make sure item->{normal,active}_title are non-null

The if-statement doesn't make sense, because `view_get_string_prop()`
never returns NULL. And if it did, it would cause segfault in
`osd_thumbnail_update()`.
src/osd/osd-thumbnail.c