ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/oct.C
(Generate patch)

Comparing libgender/oct.C (file contents):
Revision 1.72 by root, Sun Nov 7 03:01:03 2004 UTC vs.
Revision 1.73 by root, Sun Nov 7 03:05:41 2004 UTC

171 171
172 // bit-toggle to find next child for front-to-back order 172 // bit-toggle to find next child for front-to-back order
173 static unsigned char toggle[8+1] 173 static unsigned char toggle[8+1]
174 = { 0, 0^1, 1^2, 2^4, 4^3, 3^5, 5^6, 6^7, 0 }; 174 = { 0, 0^1, 1^2, 2^4, 4^3, 3^5, 5^6, 6^7, 0 };
175 175
176 bool visible = vs.state == PARTIAL || vs.state == FULL; 176 bool visible = size () && (vs.state == PARTIAL || vs.state == FULL);
177 177
178 unsigned char *next = toggle; 178 unsigned char *next = toggle;
179 do 179 do
180 { 180 {
181 si ^= *next; 181 si ^= *next;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines