0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.1.0863: getcellpixels() can be further improved

Problem:  getcellpixels() can be further improved
Solution: improve it further, add more tests
          (mikoto2000)

closes: #16047

Signed-off-by: mikoto2000 <mikoto2000@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
mikoto2000
2024-11-14 22:13:48 +01:00
committed by Christian Brabandt
parent 0acd3abfad
commit de094dcd6f
6 changed files with 87 additions and 50 deletions

View File

@@ -489,8 +489,9 @@ int mch_rename(const char *src, const char *dest);
// We have three kinds of ACL support.
#define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL || HAVE_AIX_ACL)
// Defined as signed, to return -1 on error
struct cellsize {
unsigned int cs_xpixel;
unsigned int cs_ypixel;
int cs_xpixel;
int cs_ypixel;
};