diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2019-07-27 07:57:27 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2019-07-27 07:57:27 +0000 |
commit | d4a0bed4b91da9de86c311c7fef9a8aa9a6f500c (patch) | |
tree | a1b439049dee87bc951e190db93f5bbe8b43b0b5 /xserver/hw/xfree86/common/modeline2c.awk | |
parent | b6bc775539a31f663f9e22ce3ccaf0aa96adf3b6 (diff) |
Update to xserver 1.20.5. Tested by jsg@
Diffstat (limited to 'xserver/hw/xfree86/common/modeline2c.awk')
-rw-r--r-- | xserver/hw/xfree86/common/modeline2c.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/common/modeline2c.awk b/xserver/hw/xfree86/common/modeline2c.awk index 038e7e935..3c9f602d1 100644 --- a/xserver/hw/xfree86/common/modeline2c.awk +++ b/xserver/hw/xfree86/common/modeline2c.awk @@ -89,5 +89,5 @@ BEGIN { END { print "};" - printf "const int xf86NumDefaultModes = sizeof(xf86DefaultModes) / sizeof(DisplayModeRec);" + printf "const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);" } |