css: Fix the initial values optimization
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Feb 2020 11:19:23 +0000 (12:19 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Feb 2020 11:19:23 +0000 (12:19 +0100)
commitb8ffe5b2452f829c45271c64743af89d38f78230
tree7a4f1de853243b4f11ca2f321cb148c6d4bf0a52
parent4685fe1716b812c6f5803a15d40cd7da7cfe694d
css: Fix the initial values optimization

Fix up the index computation. We have duplicate entries
in the type enum, so to go from one of the 'initial' types
to it corresponding type you subtract one, but to find
the size array entry for a type, you divide by 2.
gtk/gtkcssstyle.c