Mercurial > vim
comparison src/version.c @ 30003:01087b4630da v9.0.0339
patch 9.0.0339: no check if the return value of XChangeGC() is NULL
Commit: https://github.com/vim/vim/commit/a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 12:01:54 2022 +0100
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 https://github.com/vim/vim/issues/11020)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Aug 2022 13:15:02 +0200 |
parents | 6c1a9d7a931f |
children | bb0e525e1393 |
comparison
equal
deleted
inserted
replaced
30002:b3fd1aacd62a | 30003:01087b4630da |
---|---|
705 NULL | 705 NULL |
706 }; | 706 }; |
707 | 707 |
708 static int included_patches[] = | 708 static int included_patches[] = |
709 { /* Add new patch number below this line */ | 709 { /* Add new patch number below this line */ |
710 /**/ | |
711 339, | |
710 /**/ | 712 /**/ |
711 338, | 713 338, |
712 /**/ | 714 /**/ |
713 337, | 715 337, |
714 /**/ | 716 /**/ |