Functions For Helping FillRect (Correction)

William Poetra Yoga H williampoetra at yahoo.com
Sun Oct 24 05:00:00 CDT 2004


Oops, they didn't work... I have to make them inline:

inline RECT ToFill(RECT r)
{
  ++r.right;
  ++r.bottom;

  return r;
}

inline LPRECT LPToFill(RECT r)
{
  ++r.right;
  ++r.bottom;

  return &r;
}

And I think these two functions suffice. But the question is, why do we have to
make them inline? Why do the contents of r get scrambled up if we don't?



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



More information about the wine-devel mailing list