Please sign in to comment.
Initialize NONCLIENTMETRICSW structure to be compatible with Windows …
…Vista and later Now that we no longer support Windows XP, we can safely assume that NONCLIENTMETRICSW structure always has |iPaddedBorderWidth| field and take it into consideration when calculating |NONCLIENTMETRICSW::cbSize| member. See http://blogs.msdn.com/b/oldnewthing/archive/2003/12/12/56061.aspx about why simply specifying |sizeof(NONCLIENTMETRICSW)| to |NONCLIENTMETRICSW::cbSize| is a bug-prone. This is just an internal clean-up. No user-visible behavior change is intended. BUG=none TEST=none git-svn-id: https://mozc.googlecode.com/svn/trunk@539 a6090854-d499-a067-5803-1114d4e51264
- Loading branch information...
Showing with 7 additions and 13 deletions.