]> granicus.if.org Git - vim/commit
patch 9.0.0339: no check if the return value of XChangeGC() is NULL v9.0.0339
authorBram Moolenaar <Bram@vim.org>
Wed, 31 Aug 2022 11:01:54 +0000 (12:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 31 Aug 2022 11:01:54 +0000 (12:01 +0100)
commita63ad78ed31e36dbdf3a9cd28071dcdbefce7d19
tree7e7dcec72ffa2b5fd6236485dec104347f94aecf
parent9ba6194d4cba60fec4ed10c33d2d4fbe6e38c696
patch 9.0.0339: no check if the return value of XChangeGC() is NULL

Problem:    No check if the return value of XChangeGC() is NULL.
Solution:   Only use the return value when it is not NULL. (closes #11020)
src/gui_x11.c
src/version.c