> In function > > void toggle(xcWidget w, pointertype soffset, Boolean *setdata) > > This line is wrong, soffset is a byte offset within areawin: > > boolvalue = (Boolean *)(areawin + soffset); > > It should look perhaps like > > boolvalue = (Boolean*)(((char*)areawin) + soffset);
Same bug exists in xfuncs.c:inversecolor(...), too. Cheers, Kuba _______________________________________________ Xcircuit-dev mailing list [email protected] http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev
