Mercurial > vim
comparison src/version.c @ 31604:9b13b3a63bc0 v9.0.1134
patch 9.0.1134: comparing objects uses identity instead of equality
Commit: https://github.com/vim/vim/commit/bcf31ec36b4b056bf06d21036640c6f0235e9c2b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 20:32:24 2023 +0000
patch 9.0.1134: comparing objects uses identity instead of equality
Problem: Comparing objects uses identity instead of equality.
Solution: Compare the object values.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Jan 2023 21:45:02 +0100 |
parents | 53c3df37a2b0 |
children | 035b8dbb267c |
comparison
equal
deleted
inserted
replaced
31603:2b8fe38a9989 | 31604:9b13b3a63bc0 |
---|---|
693 NULL | 693 NULL |
694 }; | 694 }; |
695 | 695 |
696 static int included_patches[] = | 696 static int included_patches[] = |
697 { /* Add new patch number below this line */ | 697 { /* Add new patch number below this line */ |
698 /**/ | |
699 1134, | |
698 /**/ | 700 /**/ |
699 1133, | 701 1133, |
700 /**/ | 702 /**/ |
701 1132, | 703 1132, |
702 /**/ | 704 /**/ |