From f9be42a5e41dc5bb2a1676e9f64e3990624072f4 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 23 Apr 2013 21:17:26 +0200 Subject: revert r12297 (bzr r12302) --- src/style.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/style.h b/src/style.h index f456eaa61..2b98c9e5d 100644 --- a/src/style.h +++ b/src/style.h @@ -136,11 +136,11 @@ struct SPILength { /// Paint type internal to SPStyle. struct SPIPaint { - bool set; //todo check if other properties are also booleans - unsigned inherit; - unsigned currentcolor; - unsigned int colorSet; - unsigned int noneSet; + unsigned int set : 1; //c++ bitfields are used here as opposed to bools to reduce memory consumption, see http://tinyurl.com/cswh6mq + unsigned int inherit : 1; + unsigned int currentcolor : 1; + unsigned int colorSet : 1; + unsigned int noneSet : 1; struct { SPPaintServerReference *href; SPColor color; -- cgit v1.2.3