Jonathan wrote:
>             nsPoint point = this->GetOffsetTo(rootFrame);
>             printf (" offset %f %f\n", point.x, point.y);

Of course point.x and point.y aren't floats, so you've got the whole "pass type 
'x' to printf, and tell it to treat the memory as type 'y'" thing going.  Does 
using %d instead help?

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to